added "show-tooltip" and "hide-tooltip" signals. Connect to each menu

2006-03-09  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpuimanager.[ch]: added "show-tooltip" and
	"hide-tooltip" signals. Connect to each menu item's
	enter-notify-event and leave-notify-event. On enter, emit
	show-tooltip, on leave emit hide-tooltip.

	* app/display/gimpdisplayshell.c: connect to the menubar ui
	manager's show-tooltip and hide-tooltip signals and show the tip
	in the display's status bar.
This commit is contained in:
Michael Natterer
2006-03-09 15:26:33 +00:00
committed by Michael Natterer
parent 578de6bb49
commit 6a01bb2306
4 changed files with 158 additions and 47 deletions

View File

@ -62,8 +62,11 @@ struct _GimpUIManagerClass
GHashTable *managers;
void (* update) (GimpUIManager *manager,
gpointer update_data);
void (* update) (GimpUIManager *manager,
gpointer update_data);
void (* show_tooltip) (GimpUIManager *manager,
const gchar *tooltip);
void (* hide_tooltip) (GimpUIManager *manager);
};