Skip to main content

Type Alias: AdwButtonContentProps

AdwButtonContentProps = WidgetProps & object

Defined in: generated/jsx.ts:1778

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:1786
iconName?stringThe name of the displayed icon. If empty, the icon is not shown.generated/jsx.ts:1792
label?stringThe displayed label.generated/jsx.ts:1794
ref?Ref<Adw.ButtonContent>-generated/jsx.ts:1803
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:1802