Catching gtk.STOCK_SIGNALS

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,951
Messages
2,570,113
Members
46,698
Latest member
alexxx

Latest Threads

Top