Re: [pygtk] problems with glade and tooltips within toolbuttons

2004-11-10 Thread Stuart Hughes
Johan Dahlin wrote: tis 2004-11-09 klockan 10:01 + skrev Stuart Hughes: Hi, I've been pulling my hair out trying to get tooltips to work within a toolbutton. I'm using glade-2 (2.6.5), libglade-2.3.6, pygtk-2.4.0, and python 2.3.4 [snip] I've been running into the same issues. James (author o

Re: [pygtk] problems with glade and tooltips within toolbuttons

2004-11-10 Thread John Finlay
Stuart Hughes wrote: Thanks for your help, I followed your advice, and it works if you do: tree = gtk.glade.XML("project4.glade") tree.signal_autoconnect(dic) # work around toolbutton tooltip issue tbut = tree.get_widget("toolbutton3") tt = gtk.Tooltips() tbut.set_tooltip(tt, "This is a tooltip")

Re: [pygtk] problems with glade and tooltips within toolbuttons

2004-11-10 Thread Johan Dahlin
tis 2004-11-09 klockan 10:01 + skrev Stuart Hughes: > Hi, > > I've been pulling my hair out trying to get tooltips to work within a > toolbutton. > > I'm using glade-2 (2.6.5), libglade-2.3.6, pygtk-2.4.0, and python 2.3.4 > > I've attached a simple test case that shows a normal button's to

Re: [pygtk] problems with glade and tooltips within toolbuttons

2004-11-10 Thread Stuart Hughes
Thanks for your help, I followed your advice, and it works if you do: tree = gtk.glade.XML("project4.glade") tree.signal_autoconnect(dic) # work around toolbutton tooltip issue tbut = tree.get_widget("toolbutton3") tt = gtk.Tooltips() tbut.set_tooltip(tt, "This is a tooltip") # mainloop gtk.main()

Re: [pygtk] problems with glade and tooltips within toolbuttons

2004-11-09 Thread John Finlay
Thomas Mills Hinkle wrote: On Tue, 09 Nov 2004 10:01:30 + Stuart Hughes <[EMAIL PROTECTED]> wrote: Hi, I've been pulling my hair out trying to get tooltips to work within a toolbutton. I'm using glade-2 (2.6.5), libglade-2.3.6, pygtk-2.4.0, and python 2.3.4 I've attached a simple test cas

Re: [pygtk] problems with glade and tooltips within toolbuttons

2004-11-09 Thread John Finlay
Stuart Hughes wrote: Hi, I've been pulling my hair out trying to get tooltips to work within a toolbutton. I'm using glade-2 (2.6.5), libglade-2.3.6, pygtk-2.4.0, and python 2.3.4 I've attached a simple test case that shows a normal button's tooltip works, but a toolbutton's doesn't. Has anyon

Re: [pygtk] problems with glade and tooltips within toolbuttons

2004-11-09 Thread Thomas Mills Hinkle
On Tue, 9 Nov 2004 10:24:54 -0200 Christian Robottom Reis <[EMAIL PROTECTED]> wrote: > While I agree with you, I think the rationale here is that whatever > functionality you place in toolbars *must* be offered via a Menu Item, > and that's the standard way of reaching that functionality via the >

Re: [pygtk] problems with glade and tooltips within toolbuttons

2004-11-09 Thread Christian Robottom Reis
On Tue, Nov 09, 2004 at 06:49:31AM -0500, Thomas Mills Hinkle wrote: > Add it to the list of ToolButton woes... on an off topic note, does > anyone know why ToolBars are designed to work so badly with a keyboard > -- AFAIK there are no mnemonics allowed within a toolbar and tab doesn't > move throu

Re: [pygtk] problems with glade and tooltips within toolbuttons

2004-11-09 Thread Thomas Mills Hinkle
On Tue, 09 Nov 2004 10:01:30 + Stuart Hughes <[EMAIL PROTECTED]> wrote: > Hi, > > I've been pulling my hair out trying to get tooltips to work within a > toolbutton. > > I'm using glade-2 (2.6.5), libglade-2.3.6, pygtk-2.4.0, and python > 2.3.4 > > I've attached a simple test case that sho

[pygtk] problems with glade and tooltips within toolbuttons

2004-11-09 Thread Stuart Hughes
Hi, I've been pulling my hair out trying to get tooltips to work within a toolbutton. I'm using glade-2 (2.6.5), libglade-2.3.6, pygtk-2.4.0, and python 2.3.4 I've attached a simple test case that shows a normal button's tooltip works, but a toolbutton's doesn't. Has anyone got an idea what's w