re: Toolbar tooltip setter and getter question



 
Hi Cowley,

I usually hate to be one of those people who just say "it works for me",
but it does! So I guess we can say that the behaviour you are seeing
is probably not by design.
I ran your code as-is aside from adding a 'say' subroutine and removing
the 'use 5.010' (my perl version is lower) and I cannot get the tooltip
to come back after clicking the button.

Having said that, the tooltips also stay off for me after the first
press of the button (I cannot turn them back on)
because in the button you're always doing   $toolbar->set_tooltips( FALSE );
as the last thing.
If I remove that line, my tooltips DO come back after pressing the button
again. ie set_tooltips seems to be working fine for both on and off in 
my gtk2 + perl versions, which are:
  This is perl, v5.8.8 built for x86_64-linux
  2. dev-perl/gtk2-perl-1.145

cheers,
Chris


-- 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]