A `GtkLinkButton` is a button with a hyperlink.
![An example GtkLinkButton](link-button.png)
It is useful to show quick links to resources.
A link button is created by calling either [[email protected]] or [[email protected]_with_label]. If using the former, the URI you pass to the constructor is used as a label for the widget.
The URI bound to a `GtkLinkButton` can be set specifically using [[email protected]_uri].
By default, `GtkLinkButton` calls [[email protected]_uri] when the button is clicked. This behaviour can be overridden by connecting to the [
[email protected]:GtkLinkButton:activate-link
] signal and returning true from the
signal handler.
`GtkLinkButton` has a single CSS node with name button. To differentiate it from a plain `GtkButton`, it gets the .link style class.
`GtkLinkButton` uses the gtk_accessible_role_link role.