Commit d06e6702 authored by Matthias Clasen's avatar Matthias Clasen

Add new statusicon tooltip api

svn path=/trunk/; revision=21754
parent 3fe20377
2008-11-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkstatusicon.[hc]: Add new tooltip api.
2008-11-03 Christian Persch <chpe@gnome.org>
Bug 558001 – gtk_icon_view_enable_model_drag_[source|dest] problem
......
2008-11-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add new statusicon api.
2008-11-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add new GtkStyle functions.
......
......@@ -3461,6 +3461,12 @@ gtk_status_icon_get_size
gtk_status_icon_set_screen
gtk_status_icon_get_screen
gtk_status_icon_set_tooltip
gtk_status_icon_set_tooltip_text
gtk_status_icon_get_tooltip_text
gtk_status_icon_set_tooltip_markup
gtk_status_icon_get_tooltip_markup
gtk_status_icon_set_has_tooltip
gtk_status_icon_get_has_tooltip
gtk_status_icon_set_visible
gtk_status_icon_get_visible
gtk_status_icon_set_blinking
......
......@@ -1150,7 +1150,15 @@ gtk_status_icon_get_icon_name
gtk_status_icon_get_gicon
gtk_status_icon_get_size
gtk_status_icon_set_screen
#ifndef GTK_DISABLE_DEPRECATED
gtk_status_icon_set_tooltip
#endif
gtk_status_icon_set_tooltip_text
gtk_status_icon_get_tooltip_text
gtk_status_icon_set_tooltip_markup
gtk_status_icon_get_tooltip_markup
gtk_status_icon_set_has_tooltip
gtk_status_icon_get_has_tooltip
gtk_status_icon_set_visible
gtk_status_icon_get_visible
gtk_status_icon_set_blinking
......
This diff is collapsed.
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment