[pygtk] Disable signals and events to use a button as a container, not as a button?

John Finlay finlay at moeraki.com
Wed Sep 9 05:00:55 WST 2009


Ryan Martin wrote:
> When you skin a button (and certain other widgets), you can control 
> the amount of pixels on top, left right and bottom to remain intact. 
> Those pixels do not scale when the widget is resized. The rest of the 
> pixels inside the widget scale as normal. This is what keeps button 
> borders from scaling horizontally or vertically and distorting, 
> creating ugly edges.
>
> This example should show you what I mean:
> http://www.ensomniac.com/pygtk/button_example8.jpg
That's nice. What's the API to control that?

John


More information about the pygtk mailing list