Skip to main content

Type Alias: AdwButtonContentProps

AdwButtonContentProps = WidgetProps & object

Defined in: generated/jsx.ts:2109

Props for the AdwButtonContent widget.

Type Declaration

NameTypeDescriptionDefined in
canShrink?booleanWhether the button can be smaller than the natural size of its contents. If set to TRUE, the label will ellipsize. See Button.can-shrink.generated/jsx.ts:2117
iconName?stringThe name of the displayed icon. If empty, the icon is not shown.generated/jsx.ts:2123
label?stringThe displayed label.generated/jsx.ts:2125
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:2139
ref?Ref<Adw.ButtonContent>-generated/jsx.ts:2142
useUnderline?booleanWhether an underline in the text indicates a mnemonic. The mnemonic can be used to activate the parent button. See AdwButtonContent.label.generated/jsx.ts:2133