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:

committed by
Michael Natterer

parent
578de6bb49
commit
6a01bb2306
@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user