On Wed, May 29, 2002 at 07:28:31PM -0400, John J Breen wrote: > Hey, > New to pygtk and have some questions. In the follwoing code my > button connections (cancel button) do not work. It will say 2nd argument > must be callable. Also the dialog made in the second function automatically
Added faq question 3.6. A note on FAQ users: we are moving offices this week and we might have a downtime of a couple of hours. > opens (its part of a larger program). I only want the user to see it when > they press a key combo or hit a menu item. How do I make it only show up then? > Can anyone suggest pygtk resources for someone new to it? I already have > been viewing the Tutorial by John Finlay. > window = gtk.Dialog() > window.show() > window.hide() Well, if you don't want the dialog to be visible, why did you call show() on it? You need to add a callback function to the button or menuitem in question that does the actual show(). Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55 16] 272 3330 | NMFL _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
