diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-11-03 19:46:21 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-11-03 19:46:21 +0000 |
commit | d06e67023cf779f7af3e508de64ac1316ec08508 (patch) | |
tree | 9f9246fea41571d54ebe29c8e497d5a015988421 /gtk/gtkstatusicon.h | |
parent | 3fe203774b6f3d1b3384b011e68db960c17928c2 (diff) | |
download | gtk+-d06e67023cf779f7af3e508de64ac1316ec08508.tar.gz |
Add new statusicon tooltip api
svn path=/trunk/; revision=21754
Diffstat (limited to 'gtk/gtkstatusicon.h')
-rwxr-xr-x | gtk/gtkstatusicon.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gtk/gtkstatusicon.h b/gtk/gtkstatusicon.h index 1df579aba8..6d276b9def 100755 --- a/gtk/gtkstatusicon.h +++ b/gtk/gtkstatusicon.h @@ -67,10 +67,14 @@ struct _GtkStatusIconClass GdkEventButton *event); gboolean (* scroll_event) (GtkStatusIcon *status_icon, GdkEventScroll *event); + gboolean (* query_tooltip) (GtkStatusIcon *status_icon, + gint x, + gint y, + gboolean keyboard_mode, + GtkTooltip *tooltip); void (*__gtk_reserved1); void (*__gtk_reserved2); - void (*__gtk_reserved3); }; GType gtk_status_icon_get_type (void) G_GNUC_CONST; @@ -106,8 +110,16 @@ void gtk_status_icon_set_screen (GtkStatusIcon *st GdkScreen *screen); GdkScreen *gtk_status_icon_get_screen (GtkStatusIcon *status_icon); +#ifndef GTK_DISABLE_DEPRECATED void gtk_status_icon_set_tooltip (GtkStatusIcon *status_icon, const gchar *tooltip_text); +#endif +void gtk_status_icon_set_has_tooltip (GtkStatusIcon *status_icon, + gboolean has_tooltip); +void gtk_status_icon_set_tooltip_text (GtkStatusIcon *status_icon, + const char *text); +void gtk_status_icon_set_tooltip_markup (GtkStatusIcon *status_icon, + const char *markup); void gtk_status_icon_set_visible (GtkStatusIcon *status_icon, gboolean visible); gboolean gtk_status_icon_get_visible (GtkStatusIcon *status_icon); |