Sugar Learning Environment, Activity Toolkit, GTK 3.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Simon Schampijer 6064fb30cc Add support for locking Palettes, SL #4008
This adds a property that indicates that a Palette should
behave in a locking manner. The behaviour is the same
as with the secondary Toolbars: when you hover over the invoking
widget the Palette will popdown and react to mouse movements,
leaving the invoker area or the Palette itself will popdown
the Palette again. When you click the invoking widget
the Palette will be locked. You have to unlock it again
to pop it down.

This patch makes the DescriptionButton and the Colorbutton
work.

If the DescriptionButton or the Colorbutton are placed in
the primary toolbar they will share the locked state with
the secondary toolbars. Only one can be locked at a time.

When a secondary toolbar is unlocked we do force that the
open Palettes are closed. Having a locking Palette in
a subtoolbar will also work (Activity Toolbar case or
ColorButton case in a few examples). There is no state
sharing implemented here at the moment, but so far we
do only have cases with one lockable Palette in a
subtoolbar.

This will also fix the case where we want to use the
OSK to edit the description of the activity SL #3887.

Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Manuel Quiñones <manuq@laptop.org>
12 years ago
bin Set default python encoding to utf-8 12 years ago
examples Add examples for Alert, Animator, ComboBox, IconEntry and Notebook 13 years ago
m4 Add simple toolbars example 15 years ago
po Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages translated (0 fuzzy). 12 years ago
src Add support for locking Palettes, SL #4008 12 years ago
tests Add insensitive button to buttons testcase - SL #4172 12 years ago
.gitignore Switch sugarext to be an introspectable library 13 years ago
AUTHORS Add AUTHORS file 17 years ago
COPYING Make it distcheck. Fix license. 17 years ago
MAINTAINERS Add MAINTAINERS file 13 years ago
Makefile.am sugar-activity: import and make independent of sugar-toolkit GTK versions 13 years ago
README Release 0.79.0 17 years ago
autogen.sh Allow to build outside source directory 12 years ago
configure.ac Release 0.97.10 12 years ago

README

Sugar is the core of the OLPC Human Interface. The toolkit provides
a set of widgets to build HIG compliant applications and interfaces
to interact with system services like presence and the datastore.