Hi all, As outlined on the wiki page for betawidget one of the things still outstanding is tool-tip support – something which is proving to be quite a pain to implement.
Here is my current idea: - The root widget, a window, has two children – a container and a toolTip instance; - the widget class is modified so that it has a widget->toolTip member, of type const char*; - when the mouse remains stationary over the widget for <x>ms (with there being no clicks) the tool tip is moved to the mouses location and shown if hidden; - when the mouse is moved the tool tip is hidden. The current 'problem' with this method is that it will require widget.c to #include toolTip.h (i.e., have a dependency on it). I am unsure if this is desirable or not. Regards, Freddie. _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev