K
Kveldulv
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
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