Catching gtk.STOCK_SIGNALS

Kveldulv blackmh at gmail.com
Wed Sep 5 04:07:44 EDT 2007


Hi all,

I made simple GUI with Glade, window and toolbar with one button that
calls
dialog with stock yes or no buttons. It's loaded with:
def callDialog(self, widget):
		self.wTree = gtk.glade.XML(self.gladefile, "yesorno")
		self.dlg = self.wTree.get_widget("yesorno")
and it works.
Now,  I want to call other dialog named dlg1 if gtk.RESPONSE_YES,
how do I do that? I went through pygtk tutoral and tried various ways
but can't figure it out... I'm probably missing something trivial
here.

tia




More information about the Python-list mailing list