Re: Tooltips with labels




--- Emmanuele Bassi <ebassi gmail com> wrote:

hi;

On Thu, 2006-12-07 at 18:26 +0530, Ashwin Ramachandran wrote:

Just wanted to check if tooltips are supported with label widgets?

tips are supported by widgets with a GdkWindow; you must pack the
Gtk2::Label into an Gtk2::EventBox and set the tip on the event box, not
on the label.

anyway: adding a tip to a label means that the label is not clear
enough, so you should consider clarifying the content of the label. tip
are also used on action widgets.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,  E: ebassi gmail com
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net

_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list


Regarding

"adding a tip to a label means that the label is not clear enough"

- no necessarily, that it, short label may be used to save precious GUI space,
so I see the question as quite legitimate and in Perl paradigm as

label => 'Quite detailed explanation of the label through tooltip'

key => value relationship.

--Sergei.

Applications From Scratch: http://appsfromscratch.berlios.de/


 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index



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