Skip to main content

Type Alias: GtkLockButtonProps

GtkLockButtonProps = GtkButtonProps & object

Defined in: generated/jsx.ts:5125

Props for the GtkLockButton widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:5138
permission?Gio.Permission | nullThe `GPermission object controlling this button.generated/jsx.ts:5127
ref?Ref<Gtk.LockButton>-generated/jsx.ts:5139
textLock?stringThe text to display when prompting the user to lock.generated/jsx.ts:5129
textUnlock?stringThe text to display when prompting the user to unlock.generated/jsx.ts:5131
tooltipLock?stringThe tooltip to display when prompting the user to lock.generated/jsx.ts:5133
tooltipNotAuthorized?stringThe tooltip to display when the user cannot obtain authorization.generated/jsx.ts:5135
tooltipUnlock?stringThe tooltip to display when prompting the user to unlock.generated/jsx.ts:5137