Skip to content

@gtkx/react / GtkFileChooserDialogProps

Interface: GtkFileChooserDialogProps

Defined in: packages/react/src/generated/jsx.ts:3282

Props for the GtkFileChooserDialog widget.

Extends

Properties

accessibleActiveDescendant?

optional accessibleActiveDescendant?: Widget

Defined in: packages/react/src/jsx.ts:834

Inherited from

GtkDialogProps.accessibleActiveDescendant


accessibleAutocomplete?

optional accessibleAutocomplete?: AccessibleAutocomplete

Defined in: packages/react/src/jsx.ts:803

Inherited from

GtkDialogProps.accessibleAutocomplete


accessibleBusy?

optional accessibleBusy?: boolean

Defined in: packages/react/src/jsx.ts:824

Inherited from

GtkDialogProps.accessibleBusy


accessibleChecked?

optional accessibleChecked?: AccessibleTristate

Defined in: packages/react/src/jsx.ts:825

Inherited from

GtkDialogProps.accessibleChecked


accessibleColCount?

optional accessibleColCount?: number

Defined in: packages/react/src/jsx.ts:835

Inherited from

GtkDialogProps.accessibleColCount


accessibleColIndex?

optional accessibleColIndex?: number

Defined in: packages/react/src/jsx.ts:836

Inherited from

GtkDialogProps.accessibleColIndex


accessibleColIndexText?

optional accessibleColIndexText?: string

Defined in: packages/react/src/jsx.ts:837

Inherited from

GtkDialogProps.accessibleColIndexText


accessibleColSpan?

optional accessibleColSpan?: number

Defined in: packages/react/src/jsx.ts:838

Inherited from

GtkDialogProps.accessibleColSpan


accessibleControls?

optional accessibleControls?: Widget[]

Defined in: packages/react/src/jsx.ts:839

Inherited from

GtkDialogProps.accessibleControls


accessibleDescribedBy?

optional accessibleDescribedBy?: Widget[]

Defined in: packages/react/src/jsx.ts:840

Inherited from

GtkDialogProps.accessibleDescribedBy


accessibleDescription?

optional accessibleDescription?: string

Defined in: packages/react/src/jsx.ts:804

Inherited from

GtkDialogProps.accessibleDescription


accessibleDetails?

optional accessibleDetails?: Widget[]

Defined in: packages/react/src/jsx.ts:841

Inherited from

GtkDialogProps.accessibleDetails


accessibleDisabled?

optional accessibleDisabled?: boolean

Defined in: packages/react/src/jsx.ts:826

Inherited from

GtkDialogProps.accessibleDisabled


accessibleErrorMessage?

optional accessibleErrorMessage?: Widget[]

Defined in: packages/react/src/jsx.ts:842

Inherited from

GtkDialogProps.accessibleErrorMessage


accessibleExpanded?

optional accessibleExpanded?: boolean

Defined in: packages/react/src/jsx.ts:827

Inherited from

GtkDialogProps.accessibleExpanded


accessibleFlowTo?

optional accessibleFlowTo?: Widget[]

Defined in: packages/react/src/jsx.ts:843

Inherited from

GtkDialogProps.accessibleFlowTo


accessibleHasPopup?

optional accessibleHasPopup?: boolean

Defined in: packages/react/src/jsx.ts:805

Inherited from

GtkDialogProps.accessibleHasPopup


accessibleHelpText?

optional accessibleHelpText?: string

Defined in: packages/react/src/jsx.ts:822

Inherited from

GtkDialogProps.accessibleHelpText


accessibleHidden?

optional accessibleHidden?: boolean

Defined in: packages/react/src/jsx.ts:828

Inherited from

GtkDialogProps.accessibleHidden


accessibleInvalid?

optional accessibleInvalid?: AccessibleInvalidState

Defined in: packages/react/src/jsx.ts:829

Inherited from

GtkDialogProps.accessibleInvalid


accessibleKeyShortcuts?

optional accessibleKeyShortcuts?: string

Defined in: packages/react/src/jsx.ts:806

Inherited from

GtkDialogProps.accessibleKeyShortcuts


accessibleLabel?

optional accessibleLabel?: string

Defined in: packages/react/src/jsx.ts:807

Inherited from

GtkDialogProps.accessibleLabel


accessibleLabelledBy?

optional accessibleLabelledBy?: Widget[]

Defined in: packages/react/src/jsx.ts:844

Inherited from

GtkDialogProps.accessibleLabelledBy


accessibleLevel?

optional accessibleLevel?: number

Defined in: packages/react/src/jsx.ts:808

Inherited from

GtkDialogProps.accessibleLevel


accessibleModal?

optional accessibleModal?: boolean

Defined in: packages/react/src/jsx.ts:809

Inherited from

GtkDialogProps.accessibleModal


accessibleMultiLine?

optional accessibleMultiLine?: boolean

Defined in: packages/react/src/jsx.ts:810

Inherited from

GtkDialogProps.accessibleMultiLine


accessibleMultiSelectable?

optional accessibleMultiSelectable?: boolean

Defined in: packages/react/src/jsx.ts:811

Inherited from

GtkDialogProps.accessibleMultiSelectable


accessibleOrientation?

optional accessibleOrientation?: Orientation

Defined in: packages/react/src/jsx.ts:812

Inherited from

GtkDialogProps.accessibleOrientation


accessibleOwns?

optional accessibleOwns?: Widget[]

Defined in: packages/react/src/jsx.ts:845

Inherited from

GtkDialogProps.accessibleOwns


accessiblePlaceholder?

optional accessiblePlaceholder?: string

Defined in: packages/react/src/jsx.ts:813

Inherited from

GtkDialogProps.accessiblePlaceholder


accessiblePosInSet?

optional accessiblePosInSet?: number

Defined in: packages/react/src/jsx.ts:846

Inherited from

GtkDialogProps.accessiblePosInSet


accessiblePressed?

optional accessiblePressed?: AccessibleTristate

Defined in: packages/react/src/jsx.ts:830

Inherited from

GtkDialogProps.accessiblePressed


accessibleReadOnly?

optional accessibleReadOnly?: boolean

Defined in: packages/react/src/jsx.ts:814

Inherited from

GtkDialogProps.accessibleReadOnly


accessibleRequired?

optional accessibleRequired?: boolean

Defined in: packages/react/src/jsx.ts:815

Inherited from

GtkDialogProps.accessibleRequired


accessibleRole?

optional accessibleRole?: 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

GtkDialogProps.accessibleRole


accessibleRoleDescription?

optional accessibleRoleDescription?: string

Defined in: packages/react/src/jsx.ts:816

Inherited from

GtkDialogProps.accessibleRoleDescription


accessibleRowCount?

optional accessibleRowCount?: number

Defined in: packages/react/src/jsx.ts:847

Inherited from

GtkDialogProps.accessibleRowCount


accessibleRowIndex?

optional accessibleRowIndex?: number

Defined in: packages/react/src/jsx.ts:848

Inherited from

GtkDialogProps.accessibleRowIndex


accessibleRowIndexText?

optional accessibleRowIndexText?: string

Defined in: packages/react/src/jsx.ts:849

Inherited from

GtkDialogProps.accessibleRowIndexText


accessibleRowSpan?

optional accessibleRowSpan?: number

Defined in: packages/react/src/jsx.ts:850

Inherited from

GtkDialogProps.accessibleRowSpan


accessibleSelected?

optional accessibleSelected?: boolean

Defined in: packages/react/src/jsx.ts:831

Inherited from

GtkDialogProps.accessibleSelected


accessibleSetSize?

optional accessibleSetSize?: number

Defined in: packages/react/src/jsx.ts:851

Inherited from

GtkDialogProps.accessibleSetSize


accessibleSort?

optional accessibleSort?: AccessibleSort

Defined in: packages/react/src/jsx.ts:817

Inherited from

GtkDialogProps.accessibleSort


accessibleValueMax?

optional accessibleValueMax?: number

Defined in: packages/react/src/jsx.ts:818

Inherited from

GtkDialogProps.accessibleValueMax


accessibleValueMin?

optional accessibleValueMin?: number

Defined in: packages/react/src/jsx.ts:819

Inherited from

GtkDialogProps.accessibleValueMin


accessibleValueNow?

optional accessibleValueNow?: number

Defined in: packages/react/src/jsx.ts:820

Inherited from

GtkDialogProps.accessibleValueNow


accessibleValueText?

optional accessibleValueText?: string

Defined in: packages/react/src/jsx.ts:821

Inherited from

GtkDialogProps.accessibleValueText


accessibleVisited?

optional accessibleVisited?: boolean

Defined in: packages/react/src/jsx.ts:832

Inherited from

GtkDialogProps.accessibleVisited


action?

optional action?: FileChooserAction

Defined in: packages/react/src/generated/jsx.ts:3284

The type of operation that the file chooser is performing.


application?

optional application?: Application | null

Defined in: packages/react/src/generated/jsx.ts:328

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

GtkDialogProps.application


canFocus?

optional canFocus?: 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

GtkDialogProps.canFocus


canTarget?

optional canTarget?: boolean

Defined in: packages/react/src/generated/jsx.ts:26

Whether the widget can receive pointer events.

Inherited from

GtkDialogProps.canTarget


child?

optional child?: Widget | null

Defined in: packages/react/src/generated/jsx.ts:330

The child widget.

Inherited from

GtkDialogProps.child


children?

optional children?: ReactNode

Defined in: packages/react/src/generated/jsx.ts:312

Children elements (child widgets or event controllers).

Inherited from

GtkDialogProps.children


createFolders?

optional createFolders?: boolean

Defined in: packages/react/src/generated/jsx.ts:3289

Whether a file chooser not in %GTK_FILE_CHOOSER_ACTION_OPEN mode will offer the user to create new folders.


cssClasses?

optional cssClasses?: string[]

Defined in: packages/react/src/generated/jsx.ts:28

A list of css classes applied to this widget.

Inherited from

GtkDialogProps.cssClasses


cssName?

optional cssName?: 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

GtkDialogProps.cssName


cursor?

optional cursor?: Cursor | null

Defined in: packages/react/src/generated/jsx.ts:37

The cursor used by widget.

Inherited from

GtkDialogProps.cursor


decorated?

optional decorated?: boolean

Defined in: packages/react/src/generated/jsx.ts:332

Whether the window should have a frame (also known as decorations).

Inherited from

GtkDialogProps.decorated


defaultHeight?

optional defaultHeight?: number

Defined in: packages/react/src/generated/jsx.ts:334

The default height of the window.

Inherited from

GtkDialogProps.defaultHeight


defaultWidget?

optional defaultWidget?: Widget | null

Defined in: packages/react/src/generated/jsx.ts:336

The default widget.

Inherited from

GtkDialogProps.defaultWidget


defaultWidth?

optional defaultWidth?: number

Defined in: packages/react/src/generated/jsx.ts:338

The default width of the window.

Inherited from

GtkDialogProps.defaultWidth


deletable?

optional deletable?: boolean

Defined in: packages/react/src/generated/jsx.ts:340

Whether the window frame should have a close button.

Inherited from

GtkDialogProps.deletable


destroyWithParent?

optional destroyWithParent?: boolean

Defined in: packages/react/src/generated/jsx.ts:342

If this window should be destroyed when the parent is destroyed.

Inherited from

GtkDialogProps.destroyWithParent


display?

optional display?: Display

Defined in: packages/react/src/generated/jsx.ts:344

The display that will display this window.

Inherited from

GtkDialogProps.display


filter?

optional filter?: FileFilter

Defined in: packages/react/src/generated/jsx.ts:3291

The current filter for selecting files that are displayed.


focusable?

optional focusable?: boolean

Defined in: packages/react/src/generated/jsx.ts:45

Whether this widget itself will accept the input focus.

Inherited from

GtkDialogProps.focusable


focusOnClick?

optional focusOnClick?: 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

GtkDialogProps.focusOnClick


focusVisible?

optional focusVisible?: boolean

Defined in: packages/react/src/generated/jsx.ts:351

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

GtkDialogProps.focusVisible


focusWidget?

optional focusWidget?: Widget | null

Defined in: packages/react/src/generated/jsx.ts:353

The focus widget.

Inherited from

GtkDialogProps.focusWidget


fullscreened?

optional fullscreened?: boolean

Defined in: packages/react/src/generated/jsx.ts:363

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

GtkDialogProps.fullscreened


gravity?

optional gravity?: WindowGravity

Defined in: packages/react/src/generated/jsx.ts:372

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

GtkDialogProps.gravity


halign?

optional halign?: Align

Defined in: packages/react/src/generated/jsx.ts:47

How to distribute horizontal space if widget gets extra space.

Inherited from

GtkDialogProps.halign


handleMenubarAccel?

optional handleMenubarAccel?: boolean

Defined in: packages/react/src/generated/jsx.ts:377

Whether the window frame should handle F10 for activating menubars.

Inherited from

GtkDialogProps.handleMenubarAccel


hasTooltip?

optional hasTooltip?: 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

GtkDialogProps.hasTooltip


heightRequest?

optional heightRequest?: 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

GtkDialogProps.heightRequest


hexpand?

optional hexpand?: boolean

Defined in: packages/react/src/generated/jsx.ts:64

Whether to expand horizontally.

Inherited from

GtkDialogProps.hexpand


hexpandSet?

optional hexpandSet?: boolean

Defined in: packages/react/src/generated/jsx.ts:66

Whether to use the hexpand property.

Inherited from

GtkDialogProps.hexpandSet


hideOnClose?

optional hideOnClose?: boolean

Defined in: packages/react/src/generated/jsx.ts:382

If this window should be hidden instead of destroyed when the user clicks the close button.

Inherited from

GtkDialogProps.hideOnClose


iconName?

optional iconName?: string | null

Defined in: packages/react/src/generated/jsx.ts:388

Specifies the name of the themed icon to use as the window icon.

See IconTheme for more details.

Inherited from

GtkDialogProps.iconName


layoutManager?

optional layoutManager?: 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

GtkDialogProps.layoutManager


limitEvents?

optional limitEvents?: 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

GtkDialogProps.limitEvents


marginBottom?

optional marginBottom?: 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

GtkDialogProps.marginBottom


marginEnd?

optional marginEnd?: 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

GtkDialogProps.marginEnd


marginStart?

optional marginStart?: 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

GtkDialogProps.marginStart


marginTop?

optional marginTop?: 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

GtkDialogProps.marginTop


maximized?

optional maximized?: boolean

Defined in: packages/react/src/generated/jsx.ts:398

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

GtkDialogProps.maximized


mnemonicsVisible?

optional mnemonicsVisible?: boolean

Defined in: packages/react/src/generated/jsx.ts:405

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

GtkDialogProps.mnemonicsVisible


optional modal?: boolean

Defined in: packages/react/src/generated/jsx.ts:407

If true, the window is modal.

Inherited from

GtkDialogProps.modal


name?

optional name?: string

Defined in: packages/react/src/generated/jsx.ts:123

The name of the widget.

Inherited from

GtkDialogProps.name


onActivateDefault?

optional onActivateDefault?: ((self) => void) | null

Defined in: packages/react/src/generated/jsx.ts:425

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

GtkDialogProps.onActivateDefault


onActivateFocus?

optional onActivateFocus?: ((self) => void) | null

Defined in: packages/react/src/generated/jsx.ts:434

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

GtkDialogProps.onActivateFocus


onClose?

optional onClose?: (() => void) | null

Defined in: packages/react/src/jsx.ts:964

Callback fired when the window close button is clicked

Inherited from

GtkDialogProps.onClose


onDestroy?

optional onDestroy?: ((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

GtkDialogProps.onDestroy


onDirectionChanged?

optional onDirectionChanged?: ((previousDirection, self) => void) | null

Defined in: packages/react/src/generated/jsx.ts:198

Emitted when the text direction of a widget changes.

Inherited from

GtkDialogProps.onDirectionChanged


onEnableDebugging?

optional onEnableDebugging?: ((toggle, self) => boolean) | null

Defined in: packages/react/src/generated/jsx.ts:448

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

GtkDialogProps.onEnableDebugging


onHide?

optional onHide?: ((self) => void) | null

Defined in: packages/react/src/generated/jsx.ts:200

Emitted when widget is hidden.

Inherited from

GtkDialogProps.onHide


onKeynavFailed?

optional onKeynavFailed?: ((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

GtkDialogProps.onKeynavFailed


onKeysChanged?

optional onKeysChanged?: ((self) => void) | null

Defined in: packages/react/src/generated/jsx.ts:453

Emitted when the set of accelerators or mnemonics that are associated with the window changes.

Inherited from

GtkDialogProps.onKeysChanged


onMap?

optional onMap?: ((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

GtkDialogProps.onMap


onMnemonicActivate?

optional onMnemonicActivate?: ((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

GtkDialogProps.onMnemonicActivate


onMoveFocus?

optional onMoveFocus?: ((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

GtkDialogProps.onMoveFocus


onNotify?

optional onNotify?: ((pspec, self) => void) | null

Defined in: packages/react/src/generated/jsx.ts:310

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

GtkDialogProps.onNotify


onQueryTooltip?

optional onQueryTooltip?: ((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

GtkDialogProps.onQueryTooltip


onRealize?

optional onRealize?: ((self) => void) | null

Defined in: packages/react/src/generated/jsx.ts:257

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

GtkDialogProps.onRealize


onResponse?

optional onResponse?: ((responseId, self) => void) | null

Defined in: packages/react/src/generated/jsx.ts:2637

Emitted when an action widget is clicked.

The signal is also emitted when the dialog receives a delete event, and when Dialog.response is called. On a delete event, the response ID is %GTK_RESPONSE_DELETE_EVENT. Otherwise, it depends on which action widget was clicked.

Inherited from

GtkDialogProps.onResponse


onShow?

optional onShow?: ((self) => void) | null

Defined in: packages/react/src/generated/jsx.ts:259

Emitted when widget is shown.

Inherited from

GtkDialogProps.onShow


onStateFlagsChanged?

optional onStateFlagsChanged?: ((flags, self) => void) | null

Defined in: packages/react/src/generated/jsx.ts:265

Emitted when the widget state changes.

See Widget.get_state_flags.

Inherited from

GtkDialogProps.onStateFlagsChanged


onUnmap?

optional onUnmap?: ((self) => void) | null

Defined in: packages/react/src/generated/jsx.ts:275

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

GtkDialogProps.onUnmap


onUnrealize?

optional onUnrealize?: ((self) => void) | null

Defined in: packages/react/src/generated/jsx.ts:282

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

GtkDialogProps.onUnrealize


opacity?

optional opacity?: number

Defined in: packages/react/src/generated/jsx.ts:125

The requested opacity of the widget.

Inherited from

GtkDialogProps.opacity


overflow?

optional overflow?: 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

GtkDialogProps.overflow


receivesDefault?

optional receivesDefault?: boolean

Defined in: packages/react/src/generated/jsx.ts:134

Whether the widget will receive the default action when it is focused.

Inherited from

GtkDialogProps.receivesDefault


ref?

optional ref?: Ref<FileChooserDialog>

Defined in: packages/react/src/generated/jsx.ts:3294

Overrides

GtkDialogProps.ref


resizable?

optional resizable?: boolean

Defined in: packages/react/src/generated/jsx.ts:409

If true, users can resize the window.

Inherited from

GtkDialogProps.resizable


selectMultiple?

optional selectMultiple?: boolean

Defined in: packages/react/src/generated/jsx.ts:3293

Whether to allow multiple files to be selected.


sensitive?

optional sensitive?: boolean

Defined in: packages/react/src/generated/jsx.ts:136

Whether the widget responds to input.

Inherited from

GtkDialogProps.sensitive


startupId?

optional startupId?: string

Defined in: packages/react/src/generated/jsx.ts:411

A write-only property for setting window's startup notification identifier.

Inherited from

GtkDialogProps.startupId


title?

optional title?: string | null

Defined in: packages/react/src/generated/jsx.ts:413

The title of the window.

Inherited from

GtkDialogProps.title


titlebar?

optional titlebar?: ReactNode

Defined in: packages/react/src/generated/jsx.ts:415

The titlebar widget.

Inherited from

GtkDialogProps.titlebar


tooltipMarkup?

optional tooltipMarkup?: 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

GtkDialogProps.tooltipMarkup


tooltipText?

optional tooltipText?: 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

GtkDialogProps.tooltipText


transientFor?

optional transientFor?: Window | null

Defined in: packages/react/src/generated/jsx.ts:417

The transient parent of the window.

Inherited from

GtkDialogProps.transientFor


useHeaderBar?

optional useHeaderBar?: number

Defined in: packages/react/src/generated/jsx.ts:2628

%TRUE if the dialog uses a headerbar for action buttons instead of the action-area.

For technical reasons, this property is declared as an integer property, but you should only set it to %TRUE or %FALSE.

Creating a dialog with headerbar

Builtin GtkDialog subclasses such as ColorChooserDialog set this property according to platform conventions (using the Settings.gtk-dialogs-use-header setting).

Here is how you can achieve the same:

c
g_object_get (settings, "gtk-dialogs-use-header", &header, NULL);
dialog = g_object_new (GTK_TYPE_DIALOG, header, TRUE, NULL);

Inherited from

GtkDialogProps.useHeaderBar


valign?

optional valign?: Align

Defined in: packages/react/src/generated/jsx.ts:169

How to distribute vertical space if widget gets extra space.

Inherited from

GtkDialogProps.valign


vexpand?

optional vexpand?: boolean

Defined in: packages/react/src/generated/jsx.ts:171

Whether to expand vertically.

Inherited from

GtkDialogProps.vexpand


vexpandSet?

optional vexpandSet?: boolean

Defined in: packages/react/src/generated/jsx.ts:173

Whether to use the vexpand property.

Inherited from

GtkDialogProps.vexpandSet


visible?

optional visible?: boolean

Defined in: packages/react/src/generated/jsx.ts:175

Whether the widget is visible.

Inherited from

GtkDialogProps.visible


widthRequest?

optional widthRequest?: 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.

Inherited from

GtkDialogProps.widthRequest