Re: attaching tooltips to labels

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

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);


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