Interface: AdwApplicationWindowProps
Defined in: packages/react/src/generated/jsx.ts:1439
Props for the AdwApplicationWindow widget.
Extends
Properties
accessibleActiveDescendant?
optionalaccessibleActiveDescendant:Widget
Defined in: packages/react/src/jsx.ts:1175
Inherited from
GtkApplicationWindowProps.accessibleActiveDescendant
accessibleAutocomplete?
optionalaccessibleAutocomplete:AccessibleAutocomplete
Defined in: packages/react/src/jsx.ts:1144
Inherited from
GtkApplicationWindowProps.accessibleAutocomplete
accessibleBusy?
optionalaccessibleBusy:boolean
Defined in: packages/react/src/jsx.ts:1165
Inherited from
GtkApplicationWindowProps.accessibleBusy
accessibleChecked?
optionalaccessibleChecked:AccessibleTristate
Defined in: packages/react/src/jsx.ts:1166
Inherited from
GtkApplicationWindowProps.accessibleChecked
accessibleColCount?
optionalaccessibleColCount:number
Defined in: packages/react/src/jsx.ts:1176
Inherited from
GtkApplicationWindowProps.accessibleColCount
accessibleColIndex?
optionalaccessibleColIndex:number
Defined in: packages/react/src/jsx.ts:1177
Inherited from
GtkApplicationWindowProps.accessibleColIndex
accessibleColIndexText?
optionalaccessibleColIndexText:string
Defined in: packages/react/src/jsx.ts:1178
Inherited from
GtkApplicationWindowProps.accessibleColIndexText
accessibleColSpan?
optionalaccessibleColSpan:number
Defined in: packages/react/src/jsx.ts:1179
Inherited from
GtkApplicationWindowProps.accessibleColSpan
accessibleControls?
optionalaccessibleControls:Widget[]
Defined in: packages/react/src/jsx.ts:1180
Inherited from
GtkApplicationWindowProps.accessibleControls
accessibleDescribedBy?
optionalaccessibleDescribedBy:Widget[]
Defined in: packages/react/src/jsx.ts:1181
Inherited from
GtkApplicationWindowProps.accessibleDescribedBy
accessibleDescription?
optionalaccessibleDescription:string
Defined in: packages/react/src/jsx.ts:1145
Inherited from
GtkApplicationWindowProps.accessibleDescription
accessibleDetails?
optionalaccessibleDetails:Widget[]
Defined in: packages/react/src/jsx.ts:1182
Inherited from
GtkApplicationWindowProps.accessibleDetails
accessibleDisabled?
optionalaccessibleDisabled:boolean
Defined in: packages/react/src/jsx.ts:1167
Inherited from
GtkApplicationWindowProps.accessibleDisabled
accessibleErrorMessage?
optionalaccessibleErrorMessage:Widget[]
Defined in: packages/react/src/jsx.ts:1183
Inherited from
GtkApplicationWindowProps.accessibleErrorMessage
accessibleExpanded?
optionalaccessibleExpanded:boolean
Defined in: packages/react/src/jsx.ts:1168
Inherited from
GtkApplicationWindowProps.accessibleExpanded
accessibleFlowTo?
optionalaccessibleFlowTo:Widget[]
Defined in: packages/react/src/jsx.ts:1184
Inherited from
GtkApplicationWindowProps.accessibleFlowTo
accessibleHasPopup?
optionalaccessibleHasPopup:boolean
Defined in: packages/react/src/jsx.ts:1146
Inherited from
GtkApplicationWindowProps.accessibleHasPopup
accessibleHelpText?
optionalaccessibleHelpText:string
Defined in: packages/react/src/jsx.ts:1163
Inherited from
GtkApplicationWindowProps.accessibleHelpText
accessibleHidden?
optionalaccessibleHidden:boolean
Defined in: packages/react/src/jsx.ts:1169
Inherited from
GtkApplicationWindowProps.accessibleHidden
accessibleInvalid?
optionalaccessibleInvalid:AccessibleInvalidState
Defined in: packages/react/src/jsx.ts:1170
Inherited from
GtkApplicationWindowProps.accessibleInvalid
accessibleKeyShortcuts?
optionalaccessibleKeyShortcuts:string
Defined in: packages/react/src/jsx.ts:1147
Inherited from
GtkApplicationWindowProps.accessibleKeyShortcuts
accessibleLabel?
optionalaccessibleLabel:string
Defined in: packages/react/src/jsx.ts:1148
Inherited from
GtkApplicationWindowProps.accessibleLabel
accessibleLabelledBy?
optionalaccessibleLabelledBy:Widget[]
Defined in: packages/react/src/jsx.ts:1185
Inherited from
GtkApplicationWindowProps.accessibleLabelledBy
accessibleLevel?
optionalaccessibleLevel:number
Defined in: packages/react/src/jsx.ts:1149
Inherited from
GtkApplicationWindowProps.accessibleLevel
accessibleModal?
optionalaccessibleModal:boolean
Defined in: packages/react/src/jsx.ts:1150
Inherited from
GtkApplicationWindowProps.accessibleModal
accessibleMultiLine?
optionalaccessibleMultiLine:boolean
Defined in: packages/react/src/jsx.ts:1151
Inherited from
GtkApplicationWindowProps.accessibleMultiLine
accessibleMultiSelectable?
optionalaccessibleMultiSelectable:boolean
Defined in: packages/react/src/jsx.ts:1152
Inherited from
GtkApplicationWindowProps.accessibleMultiSelectable
accessibleOrientation?
optionalaccessibleOrientation:Orientation
Defined in: packages/react/src/jsx.ts:1153
Inherited from
GtkApplicationWindowProps.accessibleOrientation
accessibleOwns?
optionalaccessibleOwns:Widget[]
Defined in: packages/react/src/jsx.ts:1186
Inherited from
GtkApplicationWindowProps.accessibleOwns
accessiblePlaceholder?
optionalaccessiblePlaceholder:string
Defined in: packages/react/src/jsx.ts:1154
Inherited from
GtkApplicationWindowProps.accessiblePlaceholder
accessiblePosInSet?
optionalaccessiblePosInSet:number
Defined in: packages/react/src/jsx.ts:1187
Inherited from
GtkApplicationWindowProps.accessiblePosInSet
accessiblePressed?
optionalaccessiblePressed:AccessibleTristate
Defined in: packages/react/src/jsx.ts:1171
Inherited from
GtkApplicationWindowProps.accessiblePressed
accessibleReadOnly?
optionalaccessibleReadOnly:boolean
Defined in: packages/react/src/jsx.ts:1155
Inherited from
GtkApplicationWindowProps.accessibleReadOnly
accessibleRequired?
optionalaccessibleRequired:boolean
Defined in: packages/react/src/jsx.ts:1156
Inherited from
GtkApplicationWindowProps.accessibleRequired
accessibleRole?
optionalaccessibleRole:AccessibleRole
Defined in: packages/react/src/generated/jsx.ts:187
The accessible role of the given GtkAccessible implementation.
The accessible role cannot be changed once set.
Inherited from
GtkApplicationWindowProps.accessibleRole
accessibleRoleDescription?
optionalaccessibleRoleDescription:string
Defined in: packages/react/src/jsx.ts:1157
Inherited from
GtkApplicationWindowProps.accessibleRoleDescription
accessibleRowCount?
optionalaccessibleRowCount:number
Defined in: packages/react/src/jsx.ts:1188
Inherited from
GtkApplicationWindowProps.accessibleRowCount
accessibleRowIndex?
optionalaccessibleRowIndex:number
Defined in: packages/react/src/jsx.ts:1189
Inherited from
GtkApplicationWindowProps.accessibleRowIndex
accessibleRowIndexText?
optionalaccessibleRowIndexText:string
Defined in: packages/react/src/jsx.ts:1190
Inherited from
GtkApplicationWindowProps.accessibleRowIndexText
accessibleRowSpan?
optionalaccessibleRowSpan:number
Defined in: packages/react/src/jsx.ts:1191
Inherited from
GtkApplicationWindowProps.accessibleRowSpan
accessibleSelected?
optionalaccessibleSelected:boolean
Defined in: packages/react/src/jsx.ts:1172
Inherited from
GtkApplicationWindowProps.accessibleSelected
accessibleSetSize?
optionalaccessibleSetSize:number
Defined in: packages/react/src/jsx.ts:1192
Inherited from
GtkApplicationWindowProps.accessibleSetSize
accessibleSort?
optionalaccessibleSort:AccessibleSort
Defined in: packages/react/src/jsx.ts:1158
Inherited from
GtkApplicationWindowProps.accessibleSort
accessibleValueMax?
optionalaccessibleValueMax:number
Defined in: packages/react/src/jsx.ts:1159
Inherited from
GtkApplicationWindowProps.accessibleValueMax
accessibleValueMin?
optionalaccessibleValueMin:number
Defined in: packages/react/src/jsx.ts:1160
Inherited from
GtkApplicationWindowProps.accessibleValueMin
accessibleValueNow?
optionalaccessibleValueNow:number
Defined in: packages/react/src/jsx.ts:1161
Inherited from
GtkApplicationWindowProps.accessibleValueNow
accessibleValueText?
optionalaccessibleValueText:string
Defined in: packages/react/src/jsx.ts:1162
Inherited from
GtkApplicationWindowProps.accessibleValueText
accessibleVisited?
optionalaccessibleVisited:boolean
Defined in: packages/react/src/jsx.ts:1173
Inherited from
GtkApplicationWindowProps.accessibleVisited
adaptivePreview?
optionaladaptivePreview:boolean
Defined in: packages/react/src/generated/jsx.ts:1451
Whether adaptive preview is currently open.
Adaptive preview is a debugging tool used for testing the window contents at specific screen sizes, simulating mobile environment.
Adaptive preview can always be accessed from inspector. This function allows applications to open it manually.
Most applications should not use this property.
application?
optionalapplication:Application|null
Defined in: packages/react/src/generated/jsx.ts:353
The GtkApplication associated with the window.
The application will be kept alive for at least as long as it has any windows associated with it (see g_application_hold() for a way to keep it alive without windows).
Normally, the connection between the application and the window
will remain until the window is destroyed, but you can explicitly
remove it by setting the this property to NULL.
Inherited from
GtkApplicationWindowProps.application
canFocus?
optionalcanFocus:boolean
Defined in: packages/react/src/generated/jsx.ts:24
Whether the widget or any of its descendents can accept the input focus.
This property is meant to be set by widget implementations, typically in their instance init function.
Inherited from
GtkApplicationWindowProps.canFocus
canTarget?
optionalcanTarget:boolean
Defined in: packages/react/src/generated/jsx.ts:26
Whether the widget can receive pointer events.
Inherited from
GtkApplicationWindowProps.canTarget
child?
optionalchild:Widget|null
Defined in: packages/react/src/generated/jsx.ts:355
The child widget.
Inherited from
GtkApplicationWindowProps.child
children?
optionalchildren:ReactNode
Defined in: packages/react/src/generated/jsx.ts:314
Children elements (child widgets or event controllers).
Inherited from
GtkApplicationWindowProps.children
content?
optionalcontent:Widget|null
Defined in: packages/react/src/generated/jsx.ts:1457
The content widget.
This property should always be used instead of Window.child.
cssClasses?
optionalcssClasses:string[]
Defined in: packages/react/src/generated/jsx.ts:28
A list of css classes applied to this widget.
Inherited from
GtkApplicationWindowProps.cssClasses
cssName?
optionalcssName:string
Defined in: packages/react/src/generated/jsx.ts:35
The name of this widget in the CSS tree.
This property is meant to be set by widget implementations, typically in their instance init function.
Inherited from
GtkApplicationWindowProps.cssName
cursor?
optionalcursor:Cursor|null
Defined in: packages/react/src/generated/jsx.ts:37
The cursor used by widget.
Inherited from
GtkApplicationWindowProps.cursor
decorated?
optionaldecorated:boolean
Defined in: packages/react/src/generated/jsx.ts:357
Whether the window should have a frame (also known as decorations).
Inherited from
GtkApplicationWindowProps.decorated
defaultHeight?
optionaldefaultHeight:number
Defined in: packages/react/src/generated/jsx.ts:359
The default height of the window.
Inherited from
GtkApplicationWindowProps.defaultHeight
defaultWidget?
optionaldefaultWidget:Widget|null
Defined in: packages/react/src/generated/jsx.ts:361
The default widget.
Inherited from
GtkApplicationWindowProps.defaultWidget
defaultWidth?
optionaldefaultWidth:number
Defined in: packages/react/src/generated/jsx.ts:363
The default width of the window.
Inherited from
GtkApplicationWindowProps.defaultWidth
deletable?
optionaldeletable:boolean
Defined in: packages/react/src/generated/jsx.ts:365
Whether the window frame should have a close button.
Inherited from
GtkApplicationWindowProps.deletable
destroyWithParent?
optionaldestroyWithParent:boolean
Defined in: packages/react/src/generated/jsx.ts:367
If this window should be destroyed when the parent is destroyed.
Inherited from
GtkApplicationWindowProps.destroyWithParent
display?
optionaldisplay:Display
Defined in: packages/react/src/generated/jsx.ts:369
The display that will display this window.
Inherited from
GtkApplicationWindowProps.display
focusable?
optionalfocusable:boolean
Defined in: packages/react/src/generated/jsx.ts:45
Whether this widget itself will accept the input focus.
Inherited from
GtkApplicationWindowProps.focusable
focusOnClick?
optionalfocusOnClick:boolean
Defined in: packages/react/src/generated/jsx.ts:43
Whether the widget should grab focus when it is clicked with the mouse.
This property is only relevant for widgets that can take focus.
Inherited from
GtkApplicationWindowProps.focusOnClick
focusVisible?
optionalfocusVisible:boolean
Defined in: packages/react/src/generated/jsx.ts:376
Whether 'focus rectangles' are currently visible in this window.
This property is maintained by GTK based on user input and should not be set by applications.
Inherited from
GtkApplicationWindowProps.focusVisible
focusWidget?
optionalfocusWidget:Widget|null
Defined in: packages/react/src/generated/jsx.ts:378
The focus widget.
Inherited from
GtkApplicationWindowProps.focusWidget
fullscreened?
optionalfullscreened:boolean
Defined in: packages/react/src/generated/jsx.ts:388
Whether the window is fullscreen.
Setting this property is the equivalent of calling Window.fullscreen or Window.unfullscreen; either operation is asynchronous, which means you will need to connect to the ::notify signal in order to know whether the operation was successful.
Inherited from
GtkApplicationWindowProps.fullscreened
gravity?
optionalgravity:WindowGravity
Defined in: packages/react/src/generated/jsx.ts:397
The gravity to use when resizing the window programmatically.
Gravity describes which point of the window we want to keep
fixed (meaning that the window will grow in the opposite direction).
For example, a gravity of GTK_WINDOW_GRAVITY_TOP_RIGHT means that we
want the to fix top right corner of the window.
Inherited from
GtkApplicationWindowProps.gravity
halign?
optionalhalign:Align
Defined in: packages/react/src/generated/jsx.ts:47
How to distribute horizontal space if widget gets extra space.
Inherited from
GtkApplicationWindowProps.halign
handleMenubarAccel?
optionalhandleMenubarAccel:boolean
Defined in: packages/react/src/generated/jsx.ts:402
Whether the window frame should handle F10 for activating
menubars.
Inherited from
GtkApplicationWindowProps.handleMenubarAccel
hasTooltip?
optionalhasTooltip:boolean
Defined in: packages/react/src/generated/jsx.ts:56
Enables or disables the emission of the Widget.:query-tooltip
signal on widget.
A true value indicates that widget can have a tooltip, in this case
the widget will be queried using Widget.:query-tooltip to
determine whether it will provide a tooltip or not.
Inherited from
GtkApplicationWindowProps.hasTooltip
heightRequest?
optionalheightRequest:number
Defined in: packages/react/src/generated/jsx.ts:62
Overrides for height request of the widget.
If this is -1, the natural request will be used.
Inherited from
GtkApplicationWindowProps.heightRequest
hexpand?
optionalhexpand:boolean
Defined in: packages/react/src/generated/jsx.ts:64
Whether to expand horizontally.
Inherited from
GtkApplicationWindowProps.hexpand
hexpandSet?
optionalhexpandSet:boolean
Defined in: packages/react/src/generated/jsx.ts:66
Whether to use the hexpand property.
Inherited from
GtkApplicationWindowProps.hexpandSet
hideOnClose?
optionalhideOnClose:boolean
Defined in: packages/react/src/generated/jsx.ts:407
If this window should be hidden instead of destroyed when the user clicks the close button.
Inherited from
GtkApplicationWindowProps.hideOnClose
iconName?
optionaliconName:string|null
Defined in: packages/react/src/generated/jsx.ts:413
Specifies the name of the themed icon to use as the window icon.
See IconTheme for more details.
Inherited from
GtkApplicationWindowProps.iconName
layoutManager?
optionallayoutManager:LayoutManager|null
Defined in: packages/react/src/generated/jsx.ts:74
The LayoutManager instance to use to compute the preferred size of the widget, and allocate its children.
This property is meant to be set by widget implementations, typically in their instance init function.
Inherited from
GtkApplicationWindowProps.layoutManager
limitEvents?
optionallimitEvents:boolean
Defined in: packages/react/src/generated/jsx.ts:83
Makes this widget act like a modal dialog, with respect to event delivery.
Global event controllers will not handle events with targets inside the widget, unless they are set up to ignore propagation limits. See EventController.set_propagation_limit.
Inherited from
GtkApplicationWindowProps.limitEvents
marginBottom?
optionalmarginBottom:number
Defined in: packages/react/src/generated/jsx.ts:91
Margin on bottom side of widget.
This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from Widget.set_size_request for example.
Inherited from
GtkApplicationWindowProps.marginBottom
marginEnd?
optionalmarginEnd:number
Defined in: packages/react/src/generated/jsx.ts:102
Margin on end of widget, horizontally.
This property supports left-to-right and right-to-left text directions.
This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from Widget.set_size_request for example.
Inherited from
GtkApplicationWindowProps.marginEnd
marginStart?
optionalmarginStart:number
Defined in: packages/react/src/generated/jsx.ts:113
Margin on start of widget, horizontally.
This property supports left-to-right and right-to-left text directions.
This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from Widget.set_size_request for example.
Inherited from
GtkApplicationWindowProps.marginStart
marginTop?
optionalmarginTop:number
Defined in: packages/react/src/generated/jsx.ts:121
Margin on top side of widget.
This property adds margin outside of the widget's normal size request, the margin will be added in addition to the size from Widget.set_size_request for example.
Inherited from
GtkApplicationWindowProps.marginTop
maximized?
optionalmaximized:boolean
Defined in: packages/react/src/generated/jsx.ts:423
Whether the window is maximized.
Setting this property is the equivalent of calling Window.maximize or Window.unmaximize; either operation is asynchronous, which means you will need to connect to the ::notify signal in order to know whether the operation was successful.
Inherited from
GtkApplicationWindowProps.maximized
mnemonicsVisible?
optionalmnemonicsVisible:boolean
Defined in: packages/react/src/generated/jsx.ts:430
Whether mnemonics are currently visible in this window.
This property is maintained by GTK based on user input, and should not be set by applications.
Inherited from
GtkApplicationWindowProps.mnemonicsVisible
modal?
optionalmodal:boolean
Defined in: packages/react/src/generated/jsx.ts:432
If true, the window is modal.
Inherited from
GtkApplicationWindowProps.modal
name?
optionalname:string
Defined in: packages/react/src/generated/jsx.ts:123
The name of the widget.
Inherited from
GtkApplicationWindowProps.name
onActionAdded?
optionalonActionAdded: (actionName,self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:1479
Signals that a new action was just added to the group.
This signal is emitted after the action has been added and is now visible.
Inherited from
GtkApplicationWindowProps.onActionAdded
onActionEnabledChanged?
optionalonActionEnabledChanged: (actionName,enabled,self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:1481
Signals that the enabled status of the named action has changed.
Inherited from
GtkApplicationWindowProps.onActionEnabledChanged
onActionRemoved?
optionalonActionRemoved: (actionName,self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:1488
Signals that an action is just about to be removed from the group.
This signal is emitted before the action is removed, so the action is still visible and can be queried from the signal handler.
Inherited from
GtkApplicationWindowProps.onActionRemoved
onActionStateChanged?
optionalonActionStateChanged: (actionName,value,self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:1490
Signals that the state of the named action has changed.
Inherited from
GtkApplicationWindowProps.onActionStateChanged
onActivateDefault?
optionalonActivateDefault: (self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:450
Emitted when the user activates the default widget.
This is a keybinding signal.
The keybindings for this signal are all forms of the Enter key.
Inherited from
GtkApplicationWindowProps.onActivateDefault
onActivateFocus?
optionalonActivateFocus: (self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:459
Emitted when the user activates the currently focused
widget of window.
This is a keybinding signal.
The default binding for this signal is ␣.
Inherited from
GtkApplicationWindowProps.onActivateFocus
onClose?
optionalonClose: () =>void|null
Defined in: packages/react/src/jsx.ts:1300
Callback fired when the window close button is clicked
Inherited from
GtkApplicationWindowProps.onClose
onDestroy?
optionalonDestroy: (self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:196
Signals that all holders of a reference to the widget should release the reference that they hold.
May result in finalization of the widget if all references are released.
This signal is not suitable for saving widget state.
Inherited from
GtkApplicationWindowProps.onDestroy
onDirectionChanged?
optionalonDirectionChanged: (previousDirection,self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:198
Emitted when the text direction of a widget changes.
Inherited from
GtkApplicationWindowProps.onDirectionChanged
onEnableDebugging?
optionalonEnableDebugging: (toggle,self) =>boolean|null
Defined in: packages/react/src/generated/jsx.ts:473
Emitted when the user enables or disables interactive debugging.
When toggle is true, interactive debugging is toggled on or off,
when it is false, the debugger will be pointed at the widget
under the pointer.
This is a keybinding signal.
The default bindings for this signal are
Ctrl+Shift+I and
Ctrl+Shift+D.
Inherited from
GtkApplicationWindowProps.onEnableDebugging
onHide?
optionalonHide: (self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:200
Emitted when widget is hidden.
Inherited from
GtkApplicationWindowProps.onHide
onKeynavFailed?
optionalonKeynavFailed: (direction,self) =>boolean|null
Defined in: packages/react/src/generated/jsx.ts:206
Emitted if keyboard navigation fails.
See Widget.keynav_failed for details.
Inherited from
GtkApplicationWindowProps.onKeynavFailed
onKeysChanged?
optionalonKeysChanged: (self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:478
Emitted when the set of accelerators or mnemonics that are associated with the window changes.
Inherited from
GtkApplicationWindowProps.onKeysChanged
onMap?
optionalonMap: (self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:218
Emitted when widget is going to be mapped.
A widget is mapped when the widget is visible (which is controlled with Widget.visible) and all its parents up to the toplevel widget are also visible.
The ::map signal can be used to determine whether a widget will be drawn,
for instance it can resume an animation that was stopped during the
emission of Widget.:unmap.
Inherited from
GtkApplicationWindowProps.onMap
onMnemonicActivate?
optionalonMnemonicActivate: (groupCycling,self) =>boolean|null
Defined in: packages/react/src/generated/jsx.ts:225
Emitted when a widget is activated via a mnemonic.
The default handler for this signal activates widget if group_cycling
is false, or just makes widget grab focus if group_cycling is true.
Inherited from
GtkApplicationWindowProps.onMnemonicActivate
onMoveFocus?
optionalonMoveFocus: (direction,self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:234
Emitted when the focus is moved.
The ::move-focus signal is a keybinding signal.
The default bindings for this signal are Tab to move forward,
and Shift+Tab to move backward.
Inherited from
GtkApplicationWindowProps.onMoveFocus
onNotify?
optionalonNotify: (pspec,self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:312
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with %G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in ::notify being emitted, even if the new value is the same as the old. If they did pass %G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.
This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:
|[ g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view) ]|
It is important to note that you must use [canonical parameter names]GObjectParamSpec#parameter-names as detail strings for the notify signal.
Inherited from
GtkApplicationWindowProps.onNotify
onQueryTooltip?
optionalonQueryTooltip: (x,y,keyboardMode,tooltip,self) =>boolean|null
Defined in: packages/react/src/generated/jsx.ts:250
Emitted when the widget’s tooltip is about to be shown.
This happens when the Widget.has-tooltip property
is true and the hover timeout has expired with the cursor hovering
above widget; or emitted when widget got focus in keyboard mode.
Using the given coordinates, the signal handler should determine
whether a tooltip should be shown for widget. If this is the case
true should be returned, false otherwise. Note that if keyboard_mode
is true, the values of x and y are undefined and should not be used.
The signal handler is free to manipulate tooltip with the therefore
destined function calls.
Inherited from
GtkApplicationWindowProps.onQueryTooltip
onRealize?
optionalonRealize: (self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:259
Emitted when widget is associated with a GdkSurface.
This means that Widget.realize has been called or the widget has been mapped (that is, it is going to be drawn).
Inherited from
GtkApplicationWindowProps.onRealize
onShow?
optionalonShow: (self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:261
Emitted when widget is shown.
Inherited from
GtkApplicationWindowProps.onShow
onStateFlagsChanged?
optionalonStateFlagsChanged: (flags,self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:267
Emitted when the widget state changes.
See Widget.get_state_flags.
Inherited from
GtkApplicationWindowProps.onStateFlagsChanged
onUnmap?
optionalonUnmap: (self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:277
Emitted when widget is going to be unmapped.
A widget is unmapped when either it or any of its parents up to the toplevel widget have been set as hidden.
As ::unmap indicates that a widget will not be shown any longer,
it can be used to, for example, stop an animation on the widget.
Inherited from
GtkApplicationWindowProps.onUnmap
onUnrealize?
optionalonUnrealize: (self) =>void|null
Defined in: packages/react/src/generated/jsx.ts:284
Emitted when the GdkSurface associated with widget is destroyed.
This means that Widget.unrealize has been called or the widget has been unmapped (that is, it is going to be hidden).
Inherited from
GtkApplicationWindowProps.onUnrealize
opacity?
optionalopacity:number
Defined in: packages/react/src/generated/jsx.ts:125
The requested opacity of the widget.
Inherited from
GtkApplicationWindowProps.opacity
overflow?
optionaloverflow:Overflow
Defined in: packages/react/src/generated/jsx.ts:132
How content outside the widget's content area is treated.
This property is meant to be set by widget implementations, typically in their instance init function.
Inherited from
GtkApplicationWindowProps.overflow
receivesDefault?
optionalreceivesDefault:boolean
Defined in: packages/react/src/generated/jsx.ts:134
Whether the widget will receive the default action when it is focused.
Inherited from
GtkApplicationWindowProps.receivesDefault
ref?
optionalref:Ref<ApplicationWindow>
Defined in: packages/react/src/generated/jsx.ts:1458
Overrides
resizable?
optionalresizable:boolean
Defined in: packages/react/src/generated/jsx.ts:434
If true, users can resize the window.
Inherited from
GtkApplicationWindowProps.resizable
sensitive?
optionalsensitive:boolean
Defined in: packages/react/src/generated/jsx.ts:136
Whether the widget responds to input.
Inherited from
GtkApplicationWindowProps.sensitive
showMenubar?
optionalshowMenubar:boolean
Defined in: packages/react/src/generated/jsx.ts:1472
If this property is true, the window will display a menubar unless it is shown by the desktop shell.
See Application.set_menubar.
If false, the window will not display a menubar, regardless of whether the desktop shell is showing it or not.
Inherited from
GtkApplicationWindowProps.showMenubar
startupId?
optionalstartupId:string
Defined in: packages/react/src/generated/jsx.ts:436
A write-only property for setting window's startup notification identifier.
Inherited from
GtkApplicationWindowProps.startupId
title?
optionaltitle:string|null
Defined in: packages/react/src/generated/jsx.ts:438
The title of the window.
Inherited from
GtkApplicationWindowProps.title
titlebar?
optionaltitlebar:Widget|null
Defined in: packages/react/src/generated/jsx.ts:440
The titlebar widget.
Inherited from
GtkApplicationWindowProps.titlebar
tooltipMarkup?
optionaltooltipMarkup:string|null
Defined in: packages/react/src/generated/jsx.ts:152
Sets the text of tooltip to be the given string, which is marked up with Pango markup.
Also see Tooltip.set_markup.
This is a convenience property which will take care of getting the
tooltip shown if the given string is not NULL:
Widget.has-tooltip will automatically be set to true
and there will be taken care of Widget.:query-tooltip in
the default signal handler.
Note that if both Widget.tooltip-text and Widget.tooltip-markup are set, the last one wins.
Inherited from
GtkApplicationWindowProps.tooltipMarkup
tooltipText?
optionaltooltipText:string|null
Defined in: packages/react/src/generated/jsx.ts:167
Sets the text of tooltip to be the given string.
Also see Tooltip.set_text.
This is a convenience property which will take care of getting the
tooltip shown if the given string is not NULL:
Widget.has-tooltip will automatically be set to true
and there will be taken care of Widget.:query-tooltip in
the default signal handler.
Note that if both Widget.tooltip-text and Widget.tooltip-markup are set, the last one wins.
Inherited from
GtkApplicationWindowProps.tooltipText
transientFor?
optionaltransientFor:Window|null
Defined in: packages/react/src/generated/jsx.ts:442
The transient parent of the window.
Inherited from
GtkApplicationWindowProps.transientFor
valign?
optionalvalign:Align
Defined in: packages/react/src/generated/jsx.ts:169
How to distribute vertical space if widget gets extra space.
Inherited from
GtkApplicationWindowProps.valign
vexpand?
optionalvexpand:boolean
Defined in: packages/react/src/generated/jsx.ts:171
Whether to expand vertically.
Inherited from
GtkApplicationWindowProps.vexpand
vexpandSet?
optionalvexpandSet:boolean
Defined in: packages/react/src/generated/jsx.ts:173
Whether to use the vexpand property.
Inherited from
GtkApplicationWindowProps.vexpandSet
visible?
optionalvisible:boolean
Defined in: packages/react/src/generated/jsx.ts:175
Whether the widget is visible.
Inherited from
GtkApplicationWindowProps.visible
widthRequest?
optionalwidthRequest:number
Defined in: packages/react/src/generated/jsx.ts:181
Overrides for width request of the widget.
If this is -1, the natural request will be used.