1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Create buttons bound to a URL
7 <!-- ##### SECTION Long_Description ##### -->
9 A #GtkLinkButton is a #GtkButton with a hyperlink, similar to the one
10 used by web browsers, which triggers an action when clicked. It is useful
11 to show quick links to resources.
15 A link button is created by calling either gtk_link_button_new() or
16 gtk_link_button_new_with_label(). If using the former, the URI you pass
17 to the constructor is used as a label for the widget.
21 The URI bound to a #GtkLinkButton can be set specifically using
22 gtk_link_button_set_uri(), and retrieved using gtk_link_button_get_uri().
26 #GtkLinkButton offers a global hook, which is called when the used clicks
27 on it: see gtk_link_button_set_uri_hook().
31 #GtkLinkButton was added in GTK+ 2.10.
34 <!-- ##### SECTION See_Also ##### -->
40 <!-- ##### SECTION Stability_Level ##### -->
43 <!-- ##### STRUCT GtkLinkButton ##### -->
45 The #GtkLinkButton struct contains private data only, and should be
46 manipulated using the functions below.
50 <!-- ##### ARG GtkLinkButton:uri ##### -->
55 <!-- ##### FUNCTION gtk_link_button_new ##### -->
64 <!-- ##### FUNCTION gtk_link_button_new_with_label ##### -->
74 <!-- ##### FUNCTION gtk_link_button_get_uri ##### -->
83 <!-- ##### FUNCTION gtk_link_button_set_uri ##### -->
92 <!-- ##### USER_FUNCTION GtkLinkButtonUriFunc ##### -->
94 The type of a function which is called when the #GtkLinkButton is
98 @button: the #GtkLinkButton which was clicked
99 @link: the URI to which the clicked #GtkLinkButton points
100 @data: user data that was passed when the function was registered
101 with gtk_link_button_set_uri_hook()
104 <!-- ##### FUNCTION gtk_link_button_set_uri_hook ##### -->