Skip to main content

Type Alias: GtkLinkButtonProps

GtkLinkButtonProps = Omit<GtkButtonProps, "onNotify"> & object

Defined in: generated/jsx.ts:6089

Props for the GtkLinkButton widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:6109
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:6108
onNotify?(self, propName) => void | nullCalled when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case)generated/jsx.ts:6115
ref?Ref<Gtk.LinkButton>-generated/jsx.ts:6116
uri?stringThe URI bound to this button.generated/jsx.ts:6091
visited?booleanThe 'visited' state of this button. A visited link is drawn in a different color.generated/jsx.ts:6097