Commit Graph

16 Commits

Author SHA1 Message Date
Simon Schampijer
53f1265252 Handle the passing of the child of the toolitem to the WidgetInvoker in ToolInvoker, FrameWidgetInvoker 2007-09-18 14:24:16 +02:00
Simon Schampijer
8ae1f9aad8 Fix that several palettes are not hooked up to the same button #3293 2007-09-17 23:42:17 +02:00
Marco Pesenti Gritti
8712ab6b58 Add a ToolInvoker which position the palette depending
on the toolbar orientation. Make all tool items use it.
2007-09-01 12:12:32 +02:00
Marco Pesenti Gritti
1938fb13f0 Rework the Icon implementation by splitting out
the icon rendering part. The plan is to share this code
with CanvasIcon once it has all the necessary features.

Also cleanup the API by just reusing gtk.Image icon_name
and file properties.
2007-08-25 18:26:59 +02:00
Benjamin Berg
3c99f9f1ea Draw a prelight for toolbuttons from the toolbutton instead of relying on the button. 2007-08-22 20:38:48 +02:00
Eduardo Silva
e04c0af114 Fix #2935: bad method name 2007-08-21 12:35:20 -04:00
Marco Pesenti Gritti
8d9383c48e Move most of the drawing logic inside Palette/Invoker. 2007-08-15 21:53:31 +02:00
Marco Pesenti Gritti
d7d1e172a3 Let the button/theme deal with prelight. I don't think
it fits inside palette drawing.
2007-08-15 21:32:10 +02:00
Marco Pesenti Gritti
4f1986e8a4 Let the invoker deal with popup/popdown redraw. 2007-08-15 21:18:58 +02:00
Benjamin Berg
476189323d Don't draw the invoker rectangle for tooltips. 2007-08-10 18:52:15 +02:00
Benjamin Berg
6573e8c5e6 Draw an invoker rectangle that looks connected to the main palette.
There is one catch though, the menu placement inside the palette seems broken.
(Probably was already broken before.) Not sure what is going on there.
2007-08-10 18:29:28 +02:00
Tomeu Vizoso
5771482281 Added palette support to toggletoolbutton.py. 2007-06-27 11:36:28 +02:00
Tomeu Vizoso
54c8c009ef Fixed typo. 2007-05-04 14:47:30 +02:00
Marco Pesenti Gritti
b476b13673 Add a set_named_icon method 2007-05-01 11:28:06 +02:00
Marco Pesenti Gritti
b8e96d08ae Adjust named icons terminology a bit 2007-05-01 01:03:16 +02:00
Tomeu Vizoso
e78c9d21a9 Added ToggleToolButton control. 2007-04-30 19:00:34 +02:00