Creates a new gtk.link_button.LinkButton with the URI as its text.
Connect to ActivateLink signal.
Retrieves the URI of the gtk.link_button.LinkButton.
Retrieves the “visited” state of the gtk.link_button.LinkButton.
Sets uri as the URI where the gtk.link_button.LinkButton points.
Sets the “visited” state of the gtk.link_button.LinkButton.
Creates a new gtk.link_button.LinkButton containing a label.
Creates a new button containing an icon from the current icon theme.
Creates a gtk.button.Button widget with a gtk.label.Label child.
Creates a new gtk.button.Button containing a label.
Retrieves whether the button can be smaller than the natural size of its contents.
Gets the child widget of button.
Returns whether the button has a frame.
Returns the icon name of the button.
Fetches the text from the label of the button.
gets whether underlines are interpreted as mnemonics.
Sets whether the button size can be smaller than the natural size of its contents.
Sets the child widget of button.
Sets the style of the button.
Adds a gtk.image.Image with the given icon name as a child.
Sets the text of the label of the button to label.
Sets whether to use underlines as mnemonics.
Connect to Activate signal.
Connect to Clicked signal.
A gtk.link_button.LinkButton is a button with a hyperlink.
It is useful to show quick links to resources.
A link button is created by calling either gtk.link_button.LinkButton.new_ or gtk.link_button.LinkButton.newWithLabel. If using the former, the URI you pass to the constructor is used as a label for the widget.
The URI bound to a gtk.link_button.LinkButton can be set specifically using gtk.link_button.LinkButton.setUri.
By default, gtk.link_button.LinkButton calls gtk.file_launcher.FileLauncher.launch when the button is clicked. This behaviour can be overridden by connecting to the signal@Gtk.LinkButton::activate-link signal and returning true from the signal handler.
CSS nodes
gtk.link_button.LinkButton has a single CSS node with name button. To differentiate it from a plain gtk.button.Button, it gets the .link style class.
Accessibility
gtk.link_button.LinkButton uses the gtk.types.AccessibleRole.Link role.