Skip to main content

Type Alias: GtkLinkButtonProps

GtkLinkButtonProps = GtkButtonProps & object

Defined in: generated/jsx.ts:4921

Props for the GtkLinkButton widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:4941
onActivateLink?(self) => boolean | nullEmitted each time the GtkLinkButton is clicked. The default handler will call FileLauncher.launch with the URI stored inside the 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.generated/jsx.ts:4940
ref?Ref<Gtk.LinkButton>-generated/jsx.ts:4942
uri?stringThe URI bound to this button.generated/jsx.ts:4923
visited?booleanThe 'visited' state of this button. A visited link is drawn in a different color.generated/jsx.ts:4929