Stephen George wrote:
> Hi,
>
> Just new to pyGTK, (and hence GTK and GLADE)
>
> I notice that in Glade I can set a buttons 'Visible' property to 'Yes'
> or 'No'
>
> I don't seem to be able to find a pyGTK API to do this programatically
>
> Any suggestions what API call  I should be looking for?
a gtk.Button is a gtk.Widget (that is, the gtk.Button class inherits
from the gtk.Widget class), and those methods belong to the "widget"
behaviour.

You can see the inheritance tree for the gtk.Button in the pygtk
reference page for it: http://www.pygtk.org/docs/pygtk/class-gtkbutton.html
And see the show() and hide() methods in the gtk.Widget page:
http://www.pygtk.org/docs/pygtk/class-gtkwidget.html

Enjoy your PyGTK hacking! :),

Rafael Villar Burke
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to