Re: Tooltip with a label bug?



"needles@industrialmusic.com" wrote:
> 
> Hey,
> Is it possible to add a tooltip to a label? It doesn't seem to
> work for me. A workaround that worked for me was to use
> gtk_button_new_with_label("Text") instead of gtk_label_new("Text").
> But buttons have a different look than just straight labels and
> wasn't really what I wanted to do. (I'm on the digest list).

Tooltips only work with widgets which have their own X window.

You can put the label inside an event box and set the tooltip on that.

Damon




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