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 01a06943a2 Mimic the behaviour and style of the Sugar GTK+ 2 toolbutton palettes in GTK+ 3
First we needed to port the Palette code to use a minimum size. The default size
is two times the GRID_CELL_SIZE. Since the request-phase of the traditional GTK+
geometry management has been replaced by a height-for-width system [1] we have
to compensate for that. Furthermore we need to pass the invoker from the
PaletteWindow to the _PaletteWindowWidget for the gap calculation code for
drawing the border around the Palette.

We do the drawing of the border for the toolbutton in the base class, moved
this from the ToolbarButton and made sure we are drawing in the right order.
In the ToolButton we draw as well a black background for the ToolButton when
the Palette is up. While the mouse is over the button we can do that in the
theme, but not when the mouse moves over the Palette.

[1] http://developer.gnome.org/gtk3/3.0/ch25s02.html#id1525688

Signed-off-by: Simon Schampijer <simon@laptop.org>
12 years ago
bin Use the gtk3 toolkit in the sugar-activity 13 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 HoboPrimate.: 35 of 35 messages translated (0 fuzzy). 12 years ago
src Mimic the behaviour and style of the Sugar GTK+ 2 toolbutton palettes in GTK+ 3 12 years ago
tests Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 13 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 autogen.sh: pass --enable-maintainer-mode to configure 14 years ago
configure.ac Release 0.95.4 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.