Re: Toolbar tooltip setter and getter question

Hi Chris,

It's good to hear it's working for someone just so I know it's not
just a big misunderstanding on my part on how it's supposed to work.

Either I have an older version or a new version of the gtk2 library.
I'm using the default debian package which describes itself as

Architecture: amd64
Version: 1:1.190-1

The 1:1 in the 1:1.190 confuses the issue.


2009/5/23 csincock-gmail <csincock gmail com>:

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


gtk-perl-list mailing list
gtk-perl-list gnome org

"that which does not kill us will give us six  more weeks of winter",
Nietzschean Groundhog Theory

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