Sugar Learning Environment, Activity Toolkit, GTK 3.
Go to file
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>
2012-03-15 18:25:08 +01:00
bin Use the gtk3 toolkit in the sugar-activity 2011-12-20 19:19:26 +01:00
examples Add examples for Alert, Animator, ComboBox, IconEntry and Notebook 2011-12-13 17:19:53 -03:00
m4 Add simple toolbars example 2009-07-10 04:07:10 +00:00
po Commit from Sugar Labs: Translation System by user HoboPrimate.: 35 of 35 messages translated (0 fuzzy). 2012-03-09 00:56:37 +02:00
src Mimic the behaviour and style of the Sugar GTK+ 2 toolbutton palettes in GTK+ 3 2012-03-15 18:25:08 +01:00
tests Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 2011-12-13 17:19:52 -03:00
.gitignore Switch sugarext to be an introspectable library 2011-12-13 17:19:52 -03:00
AUTHORS
autogen.sh autogen.sh: pass --enable-maintainer-mode to configure 2010-03-10 09:51:56 +01:00
configure.ac Release 0.95.4 2012-03-14 21:20:25 +01:00
COPYING
MAINTAINERS Add MAINTAINERS file 2011-12-13 17:37:50 -03:00
Makefile.am sugar-activity: import and make independent of sugar-toolkit GTK versions 2011-12-13 17:35:30 -03:00
README Release 0.79.0 2008-02-06 17:03:51 +01:00

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.