diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-01-28 06:20:30 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-01-28 06:20:30 +0000 |
commit | 40aa02249b9f527994e8d7f624bca28ef3aad93b (patch) | |
tree | 467fe72a1cd8673e6d2e075a22dac9dc627018df /gtk/gtklinkbutton.h | |
parent | 017a5e3d5be6869abe485ea0c631160d1fa999b9 (diff) | |
download | gdk-pixbuf-40aa02249b9f527994e8d7f624bca28ef3aad93b.tar.gz |
Allow to set a global hook function thats called whenever a link button is
2006-01-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtklinkbutton.h:
* gtk/gtklinkbutton.c: Allow to set a global hook function
thats called whenever a link button is clicked.
Diffstat (limited to 'gtk/gtklinkbutton.h')
-rw-r--r-- | gtk/gtklinkbutton.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtklinkbutton.h b/gtk/gtklinkbutton.h index 25affc7e7..92b48512e 100644 --- a/gtk/gtklinkbutton.h +++ b/gtk/gtklinkbutton.h @@ -41,6 +41,10 @@ typedef struct _GtkLinkButton GtkLinkButton; typedef struct _GtkLinkButtonClass GtkLinkButtonClass; typedef struct _GtkLinkButtonPrivate GtkLinkButtonPrivate; +typedef void (*GtkLinkButtonUriFunc) (GtkLinkButton *button, + const gchar *link, + gpointer user_data); + struct _GtkLinkButton { GtkButton parent_instance; @@ -68,6 +72,10 @@ G_CONST_RETURN gchar *gtk_link_button_get_uri (GtkLinkButton *link_but void gtk_link_button_set_uri (GtkLinkButton *link_button, const gchar *uri); +GtkLinkButtonUriFunc gtk_link_button_set_uri_hook (GtkLinkButtonUriFunc func, + gpointer data, + GDestroyNotify destroy); + G_END_DECLS #endif /* __GTK_LINK_BUTTON_H__ */ |