Type Alias: AdwHeaderBarProps
AdwHeaderBarProps =
WidgetProps&object
Defined in: generated/jsx.ts:5048
Props for the AdwHeaderBar widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
centeringPolicy? | Adw.CenteringPolicy | The policy for aligning the center widget. | generated/jsx.ts:5050 |
children? | ReactNode | - | generated/jsx.ts:5116 |
decorationLayout? | string | null | The decoration layout for buttons. If this property is not set, the Settings.gtk-decoration-layout setting is used. The format of the string is button names, separated by commas. A colon separates the buttons that should appear at the start from those at the end. Recognized button names are minimize, maximize, close and icon (the window icon). For example, “icon:minimize,maximize,close” specifies an icon at the start, and minimize, maximize and close buttons at the end. | generated/jsx.ts:5065 |
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:5122 |
ref? | Ref<Adw.HeaderBar> | - | generated/jsx.ts:5135 |
showBackButton? | boolean | Whether the header bar can show the back button. The back button will never be shown unless the header bar is placed inside an AdwNavigationView. Usually, there is no reason to set this to FALSE. | generated/jsx.ts:5072 |
showEndTitleButtons? | boolean | Whether to show title buttons at the end of the header bar. See AdwHeaderBar.show-start-title-buttons for the other side. Which buttons are actually shown and where is determined by the AdwHeaderBar.decoration-layout property, and by the state of the window (e.g. a close button will not be shown if the window can't be closed). | generated/jsx.ts:5083 |
showStartTitleButtons? | boolean | Whether to show title buttons at the start of the header bar. See AdwHeaderBar.show-end-title-buttons for the other side. Which buttons are actually shown and where is determined by the AdwHeaderBar.decoration-layout property, and by the state of the window (e.g. a close button will not be shown if the window can't be closed). | generated/jsx.ts:5094 |
showTitle? | boolean | Whether the title widget should be shown. | generated/jsx.ts:5096 |
titleWidget? | Gtk.Widget | null | The title widget to display. When set to NULL, the header bar will display the title of the window it is contained in. To use a different title, use AdwWindowTitle: <object class="AdwHeaderBar"> <property name="title-widget"> <object class="AdwWindowTitle"> <property name="title" translatable="yes">Title</property> </object> </property> </object> | generated/jsx.ts:5115 |