Mercurial > dwindows
comparison os2/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 | fd1de4e9e542 |
children | 943266c86aed |
comparison
equal
deleted
inserted
replaced
1388:8fe15c1648c9 | 1389:0512fbb08abf |
---|---|
6315 HWND entryfield = (HWND)dw_window_get_data(handle, "_dw_buddy"); | 6315 HWND entryfield = (HWND)dw_window_get_data(handle, "_dw_buddy"); |
6316 WinSetWindowText(entryfield ? entryfield : handle, (PSZ)text); | 6316 WinSetWindowText(entryfield ? entryfield : handle, (PSZ)text); |
6317 } | 6317 } |
6318 | 6318 |
6319 /* | 6319 /* |
6320 * Sets the text used for a given window's floating bubble help. | |
6321 * Parameters: | |
6322 * handle: Handle to the window (widget). | |
6323 * bubbletext: The text in the floating bubble tooltip. | |
6324 */ | |
6325 void API dw_window_set_tooltip(HWND handle, char *bubbletext) | |
6326 { | |
6327 /* TODO: Fill this in with generic bubble help code... | |
6328 * like we do for the bitmap buttons. | |
6329 */ | |
6330 } | |
6331 | |
6332 /* | |
6320 * Gets the text used for a given window. | 6333 * Gets the text used for a given window. |
6321 * Parameters: | 6334 * Parameters: |
6322 * handle: Handle to the window. | 6335 * handle: Handle to the window. |
6323 * Returns: | 6336 * Returns: |
6324 * text: The text associsated with a given window. | 6337 * text: The text associsated with a given window. |