diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-01-03 21:00:44 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-01-04 10:54:03 -0500 |
commit | 0d9efde30333166b57ee03800311064009bdf5e2 (patch) | |
tree | 114a36906d9b3eb604f86c0eeddfded577a67d54 /gtk/gtklabelprivate.h | |
parent | c6d9f829166f502b4adaea1897946a293eac49fd (diff) | |
download | gtk+-0d9efde30333166b57ee03800311064009bdf5e2.tar.gz |
GtkLabel: Add private api for links
This exposes enough information to implement the AtkHyperText
interface.
More private link api
Diffstat (limited to 'gtk/gtklabelprivate.h')
-rw-r--r-- | gtk/gtklabelprivate.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gtk/gtklabelprivate.h b/gtk/gtklabelprivate.h index e8fe1b29a2..f99c50fca5 100644 --- a/gtk/gtklabelprivate.h +++ b/gtk/gtklabelprivate.h @@ -29,6 +29,22 @@ void _gtk_label_mnemonics_visible_apply_recursively (GtkWidget *widget, gint _gtk_label_get_cursor_position (GtkLabel *label); gint _gtk_label_get_selection_bound (GtkLabel *label); +gint _gtk_label_get_n_links (GtkLabel *label); +gint _gtk_label_get_link_at (GtkLabel *label, + gint pos); +void _gtk_label_activate_link (GtkLabel *label, + gint idx); +const gchar *_gtk_label_get_link_uri (GtkLabel *label, + gint idx); +void _gtk_label_get_link_extent (GtkLabel *label, + gint idx, + gint *start, + gint *end); +gboolean _gtk_label_get_link_visited (GtkLabel *label, + gint idx); +gboolean _gtk_label_get_link_focused (GtkLabel *label, + gint idx); + G_END_DECLS #endif /* __GTK_LABEL_PRIVATE_H__ */ |