Re: [pygtk] [Glade-users] how to override Glade editor winndow background

2012-12-11 Thread Nox Deleo
I was trying simething like this a few weeks back, and was having problems loading images from the right path. Try putting them in the same directory as your glade file and repoint the widgets to the new image path. On Dec 11, 2012 7:29 AM, Chris Morley chrisinnana...@hotmail.com wrote: I am

Re: [pygtk] Good way to determine which version of PyGObject is installed

2012-11-19 Thread Nox Deleo
Off the top of my head you can get it using GObject._version. On Nov 18, 2012 10:06 PM, Christian Mallwitz c.mallw...@gmail.com wrote: Hi There was a time one could do import gtk gtk.pygtk_version (2, 17, 0) How can I do the same with gi.repository.Gtk when using gobject-introspection

[pygtk] Interesting issue with a DrawingArea inside a subclassed togglebutton.

2012-11-18 Thread Nox Deleo
I came across a weird problem when subclassing a GTK+ ToggleButton in Python in order to add a DrawingArea inside. It's chronicled in the following forum thread: http://www.gtkforums.com/viewtopic.php?f=3t=178226 The short version is that the DrawingArea inside the widget never got realized