comparison gtk3/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 8fe15c1648c9
children 58c084177e3e
comparison
equal deleted inserted replaced
1388:8fe15c1648c9 1389:0512fbb08abf
4333 } 4333 }
4334 DW_MUTEX_UNLOCK; 4334 DW_MUTEX_UNLOCK;
4335 } 4335 }
4336 4336
4337 /* 4337 /*
4338 * Sets the text used for a given window's floating bubble help.
4339 * Parameters:
4340 * handle: Handle to the window (widget).
4341 * bubbletext: The text in the floating bubble tooltip.
4342 */
4343 void API dw_window_set_tooltip(HWND handle, char *bubbletext)
4344 {
4345 int _locked_by_me = FALSE;
4346
4347 DW_MUTEX_LOCK;
4348 gtk_widget_set_tooltip_text(tmp, bubbletext);
4349 DW_MUTEX_UNLOCK;
4350 }
4351
4352 /*
4338 * Gets the text used for a given window. 4353 * Gets the text used for a given window.
4339 * Parameters: 4354 * Parameters:
4340 * handle: Handle to the window. 4355 * handle: Handle to the window.
4341 * Returns: 4356 * Returns:
4342 * text: The text associsated with a given window. 4357 * text: The text associsated with a given window.