Holger Reinmann wrote:
Hello,
When I try to get the XID from the gtk.drawingarea with da.window.xid I
get an Errormsg None Type Object has no attribute XID
greetings holger
Sorry, the example showed the XID for the window were the button is
being painted, and that is its parent's window (the
is there a way to test wehter or not gtkmain is running from within
python? i am in the situation where my program initiates two threads, oe
which starts gtkmain, the other may create a dialogue early on -
possibly before gtkmain is fuly up and running
Keir Lawson
--
Hi,
I am trying to build and install PyGTKGLext for Windows with Python 2.4
and PyGTK 2.4.1.
The build process was successful but the install one failed. I get the
following error :
C:\msys\1.0\home\Stephane\pygtkglext-1.0.1setup.py build
--compiler=mingw32 install
running build
running
I think gtk.main_level will give you the information you want.
http://www.pygtk.org/pygtk2reference/gtk-functions.html#function-gtk--main-level
On a side note, does anyone know of a good way to catch uncaught
exceptions with sys.excepthook and gracefully call gtk.main_quit the
right number of