Hi,

Am Montag, den 09.05.2005, 16:50 -0700 schrieb Brian:
> How do you set a tooltip for the new gtk.ToolButton.   It seems that a
> ToolButton is a subclass of a ToolItem which has a set_tip().  But how
> do you access it from the gtk.ToolButton widget?

tooltips = gtk.Tooltips()
[...]

toolbar = gtk.Toolbar()
toolbar.set_tooltips(True)

toolbutton = gtk.ToolButton()
toolbutton.set_tooltip(tooltips, "hi")

cheers,
   Danny

-- 
www.keyserver.net key id A334AEA6

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
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