Im not sure if there is any more relevant code to show, this event is on
a thread. The crash occurs as soon as i click the close button on the
dialog.
Keir
On Tue, 2005-03-22 at 22:53 +0100, Gian Mario Tagliaretti wrote:
> On Tue, 22 Mar 2005 17:55:23 +0000, Keir Lawson
> <[EMAIL
OK, sorry about that, the winows freeze and dont redraw, there is no
output in the termianl, no segfault, no traceback, and yes im using
linux ;)
Keir
On Tue, 2005-03-22 at 16:14 -0300, Christian Reis wrote:
> Well, one thing you did wrong was not providing detailed enough
--
___
I have set up a MessageDialog to display an error message, and want my
app to quit when its close button is pressed. i use this code:
resp = self.dialog.run()
if resp == gtk.RESPONSE_CLOSE:
gtk.main_quit()
sys.exit()
However, my app just crashes, what am i doing wrong?
Keir
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
.
Keir Lawson
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
, obviously i cant just do:
def on_click(widget):
foobar = chat()
as i will only be able to do this once, how would i resolve this?
Keir Lawson
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ
i read in the pygtk faq
(http://www.async.com.br/faq/pygtk/index.py?req=all#14.16), that in
oreder to react to a user pressing enter in a text entry, i have to
respond to the activate signal, however, having tried this, it does not
seem to work, pressing enter does not call the functio attatched,
h
im new to programming with gtk and was wondering how to work around the
gtk mainloop, which seems to stop all currently running threads, to
allow threads to continue running. im pretty sure im missing something
glaringly obvious.
thanks in advance
Keir Lawson
--
"We would rather die o
i was wondering if there was any gnome-python documentation,
specifically for gnome canvas, or indeed any up-to-date documentation on
gnome-canvas in general. i have had a look at the gnom canvas example
in gnome-python, however i need more that one example to be able to
learn this
Keir Lawson