Mercurial > dwindows
diff win/dw.c @ 1389:0512fbb08abf
Added dw_window_set_tooltip() for adding bubble help to most controls.
Mac, Windows and GTK should be supported... OS/2 coming soon.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 26 Nov 2011 21:00:14 +0000 |
parents | db27c6e139a3 |
children | 943266c86aed |
line wrap: on
line diff
--- a/win/dw.c Sat Nov 26 20:20:41 2011 +0000 +++ b/win/dw.c Sat Nov 26 21:00:14 2011 +0000 @@ -6190,6 +6190,17 @@ } /* + * Sets the text used for a given window's floating bubble help. + * Parameters: + * handle: Handle to the window (widget). + * bubbletext: The text in the floating bubble tooltip. + */ +void API dw_window_set_tooltip(HWND handle, char *bubbletext) +{ + _create_tooltip(handle, bubbletext); +} + +/* * Gets the text used for a given window. * Parameters: * handle: Handle to the window.