Package ch.bailu.gtk.gtk
Interface LinkButton.OnActivateLink
- Enclosing class:
- LinkButton
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Emitted each time the `GtkLinkButton` is clicked.
-
Method Details
-
onActivateLink
boolean onActivateLink()Emitted each time the `GtkLinkButton` is clicked.
The default handler will call [func@Gtk.show_uri] with the URI
stored inside the [property@Gtk.LinkButton:uri] property.
To override the default behavior, you can connect to the
::activate-link signal and stop the propagation of the signal
by returning %TRUE from your handler.- Returns:
- %TRUE if the signal has been handled
-