Hello,
I'm trying to get a Tooltip to work when the mouse is over a DrawingArea, but it
doesn't seem to show. My simplified code is as follows:-
static void Main()
{
Application.Init();
Window win = new Window("DrawingArea tooltip test");
DrawingArea da = new DrawingArea ();
Button btn = new Button("Button");
HBox hbox = new HBox (true, 2);
win.Add(hbox);
hbox.Add(btn);
hbox.Add(da);
Tooltips area_tips = new Tooltips ();
area_tips.SetTip (da,
"Pointer is over DrawingArea",
"longer explanation");
area_tips.SetTip (btn,
"Pointer is over Button",
"longer explanation");
win.ShowAll();
Application.Run();
}
I get a tooltip when the mouse is over the button, but not the DrawingArea. Am
I doing something wrong, or should I submit this as a bug? I can get events
from the DrawingArea (as long as I set the appropriate mask), so the DrawingArea
is functioning fine in all other respects.
Many thanks,
Hywel Thomas
____________________________________________
www.controlspecialists.co.uk
E-Mail: [EMAIL PROTECTED]
____________________________________________
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list