Mercurial > dwindows
comparison 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 |
comparison
equal
deleted
inserted
replaced
1388:8fe15c1648c9 | 1389:0512fbb08abf |
---|---|
6188 SetWindowText( thisbox->grouphwnd, text ); | 6188 SetWindowText( thisbox->grouphwnd, text ); |
6189 } | 6189 } |
6190 } | 6190 } |
6191 | 6191 |
6192 /* | 6192 /* |
6193 * Sets the text used for a given window's floating bubble help. | |
6194 * Parameters: | |
6195 * handle: Handle to the window (widget). | |
6196 * bubbletext: The text in the floating bubble tooltip. | |
6197 */ | |
6198 void API dw_window_set_tooltip(HWND handle, char *bubbletext) | |
6199 { | |
6200 _create_tooltip(handle, bubbletext); | |
6201 } | |
6202 | |
6203 /* | |
6193 * Gets the text used for a given window. | 6204 * Gets the text used for a given window. |
6194 * Parameters: | 6205 * Parameters: |
6195 * handle: Handle to the window. | 6206 * handle: Handle to the window. |
6196 * Returns: | 6207 * Returns: |
6197 * text: The text associsated with a given window. | 6208 * text: The text associsated with a given window. |