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
..
Makefile.am Remove Canvas* widgets and other hippo-canvas using parts 13 years ago
__init__.py Rename the module to sugar3 13 years ago
alert.py Trivial GTK3 porting fixes 13 years ago
animator.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 13 years ago
colorbutton.py Trivial GTK3 porting fixes 13 years ago
combobox.py Trivial GTK3 porting fixes 13 years ago
icon.py Trivial GTK3 porting fixes 13 years ago
iconentry.py Trivial GTK3 porting fixes 13 years ago
menuitem.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 13 years ago
notebook.py Adapt to Gtk.icon_size_lookup*() API changes 13 years ago
objectchooser.py ObjectChooser: remove deprecated parameters 13 years ago
palette.py Reimplement Palettes for GTK3 13 years ago
palettegroup.py Reimplement Palettes for GTK3 13 years ago
palettewindow.py Mimic the behaviour and style of the Sugar GTK+ 2 toolbutton palettes in GTK+ 3 12 years ago
panel.py Trivial GTK3 porting fixes 13 years ago
radiopalette.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 13 years ago
radiotoolbutton.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 13 years ago
style.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 13 years ago
toggletoolbutton.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 13 years ago
toolbarbox.py Mimic the behaviour and style of the Sugar GTK+ 2 toolbutton palettes in GTK+ 3 12 years ago
toolbox.py Trivial GTK3 porting fixes 13 years ago
toolbutton.py Mimic the behaviour and style of the Sugar GTK+ 2 toolbutton palettes in GTK+ 3 12 years ago
toolcombobox.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 13 years ago
tray.py Trivial GTK3 porting fixes 13 years ago
window.py Window: fixup of wrong conversion introduced by pygi-convert.sh 13 years ago
xocolor.py Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi. 13 years ago