Re: attaching tooltips to labels
- From: Paolo Borelli <pborelli katamail com>
- To: Dimitar Haralanov <voidtrance comcast net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: attaching tooltips to labels
- Date: Mon, 24 Nov 2003 19:00:39 +0100
On Mon, 2003-11-24 at 18:45, Dimitar Haralanov wrote:
Is it possible to attach a tooltip to a label? In my testing, it
appears that labels are only displayed on widgets that offer some user
interaction.
To display a tooltip on a label you have to wrap it in an event box,
something like
eventbox = gtk_event_box_new ();
gtk_container_add (GTK_CONTAINER (eventbox), label);
glade_util_widget_set_tooltip (eventbox, tooltip);
ciao
paolo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]