Skip to main content

Type Alias: GtkLockButtonProps

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

Defined in: generated/jsx.ts:6345

Props for the GtkLockButton widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:6358
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:6364
permission?Gio.Permission | nullThe `GPermission object controlling this button.generated/jsx.ts:6347
ref?Ref<Gtk.LockButton>-generated/jsx.ts:6376
textLock?stringThe text to display when prompting the user to lock.generated/jsx.ts:6349
textUnlock?stringThe text to display when prompting the user to unlock.generated/jsx.ts:6351
tooltipLock?stringThe tooltip to display when prompting the user to lock.generated/jsx.ts:6353
tooltipNotAuthorized?stringThe tooltip to display when the user cannot obtain authorization.generated/jsx.ts:6355
tooltipUnlock?stringThe tooltip to display when prompting the user to unlock.generated/jsx.ts:6357