Type Alias: GtkLinkButtonProps
GtkLinkButtonProps =
Omit<GtkButtonProps,"onNotify"> &object
Defined in: generated/jsx.ts:6089
Props for the GtkLinkButton widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:6109 |
onActivateLink()? | (self) => boolean | null | Emitted 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 | null | Called 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? | string | The URI bound to this button. | generated/jsx.ts:6091 |
visited? | boolean | The 'visited' state of this button. A visited link is drawn in a different color. | generated/jsx.ts:6097 |