| Top |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GtkWidget ╰── GtkMisc ╰── GtkLabel ╰── SexyUrlLabel
void sexy_url_label_set_markup (SexyUrlLabel *url_label,const gchar *markup);
Parses markup
which is marked up with the Pango text markup language as well as
HTML-style hyperlinks, setting the label's text and attribute list based
on the parse results. If the markup
is external data, you may need to
escape it with g_markup_escape_text() or g_markup_printf_escaped()
“url-activated” signalvoid user_function (SexyUrlLabel *url_label, gchar *url, gpointer user_data)
The ::url-activated signal is emitted when a URL in the label was clicked.
url_label |
The label on which the signal was emitted. |
|
url |
The URL which was activated. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action