X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fhyperlink.h;h=fa49d920a1759477a505db2c2cedba4223a3a43e;hb=refs%2Fheads%2Fgtk3;hp=2b5b1eb73ea8b537a29f7872207e54b454783e7f;hpb=22ea0961a715ac91addb222a54300c3554a09e48;p=projects%2Fchimara%2Fchimara.git diff --git a/libchimara/hyperlink.h b/libchimara/hyperlink.h index 2b5b1eb..fa49d92 100644 --- a/libchimara/hyperlink.h +++ b/libchimara/hyperlink.h @@ -8,6 +8,14 @@ #include "window.h" #include "event.h" -G_GNUC_INTERNAL gboolean on_window_button_release_event(GtkWidget *widget, GdkEventButton *event, winid_t win); +struct hyperlink { + guint32 value; + GtkTextTag *tag; + gulong event_handler; + winid_t window; +}; +typedef struct hyperlink hyperlink_t; + +G_GNUC_INTERNAL gboolean on_hyperlink_clicked(GtkTextTag *tag, GObject *object, GdkEvent *event, GtkTextIter *iter, hyperlink_t *link); #endif