applet & tooltips problem

Writing my first gnome panel applet... having a problem with it.
The tooltip needs to be changed every time the mouse pointer enters the
applet, so naturally, I chose to stick a button in the applet and attach a
function to the "enter" signal, and pass the button to it.  In the signal
function I call applet_widget_set_widget_tooltip(APPLET_WIDGET(applet),
button, "my tooltip");

No tooltip appears when I enter the button with the mouse pointer.  It
works if I just attach a tooltip to the whole applet widget via
applet_widget_set_tooltip(), but as far as I know, you can't call a
function every time the mouse pointer enters the entire widget.  

But perhaps I'm wrong, I'm new at this. :)

Thanks for any help...

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