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 ##### -->
39 <!-- ##### SECTION Stability_Level ##### -->
42 <!-- ##### STRUCT GtkLinkButton ##### -->
44 The #GtkLinkButton struct contains private data only, and should be
45 manipulated using the functions below.
49 <!-- ##### ARG GtkLinkButton:uri ##### -->
54 <!-- ##### ARG GtkLinkButton:visited ##### -->
59 <!-- ##### FUNCTION gtk_link_button_new ##### -->
68 <!-- ##### FUNCTION gtk_link_button_new_with_label ##### -->
78 <!-- ##### FUNCTION gtk_link_button_get_uri ##### -->
87 <!-- ##### FUNCTION gtk_link_button_set_uri ##### -->
96 <!-- ##### USER_FUNCTION GtkLinkButtonUriFunc ##### -->
98 The type of a function which is called when the #GtkLinkButton is
102 @button: the #GtkLinkButton which was clicked
104 @user_data: user data that was passed when the function was registered
105 with gtk_link_button_set_uri_hook()
106 <!-- # Unused Parameters # -->
107 @link: the URI to which the clicked #GtkLinkButton points
110 <!-- ##### FUNCTION gtk_link_button_set_uri_hook ##### -->