1 2@c %start of fragment 3 4@node GtkLinkButton 5@chapter GtkLinkButton 6Create buttons bound to a URL 7 8@section Overview 9A @code{<gtk-link-button>} is a @code{<gtk-button>} with a hyperlink, similar to 10the one used by web browsers, which triggers an action when clicked. It is 11useful to show quick links to resources. 12 13A link button is created by calling either @code{gtk-link-button-new} or 14@code{gtk-link-button-new-with-label}. If using the former, the URI you pass to 15the constructor is used as a label for the widget. 16 17The URI bound to a @code{<gtk-link-button>} can be set specifically using 18@code{gtk-link-button-set-uri}, and retrieved using 19@code{gtk-link-button-get-uri}. 20 21@code{<gtk-link-button>} offers a global hook, which is called when the used 22clicks on it: see @code{gtk-link-button-set-uri-hook}. 23 24@code{<gtk-link-button>} was added in GTK+ 2.10. 25 26@section Usage 27@include defuns-gtklinkbutton.xml.texi 28 29@c %end of fragment 30