Skip to main content

Type Alias: GtkPanedProps

GtkPanedProps = WidgetProps & object

Defined in: generated/jsx.ts:7118

Props for the GtkPaned widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:7217
endChild?Gtk.Widget | nullThe second child.generated/jsx.ts:7120
onAcceptPosition()?(self) => boolean | nullEmitted to accept the current position of the handle when moving it using key bindings. This is a keybinding signal. The default binding for this signal is Return or Space.generated/jsx.ts:7165
onCancelPosition()?(self) => boolean | nullEmitted to cancel moving the position of the handle using key bindings. The position of the handle will be reset to the value prior to moving it. This is a keybinding signal. The default binding for this signal is Escape.generated/jsx.ts:7177
onCycleChildFocus()?(self, reversed) => boolean | nullEmitted to cycle the focus between the children of the paned. This is a keybinding signal. The default binding is F6.generated/jsx.ts:7185
onCycleHandleFocus()?(self, reversed) => boolean | nullEmitted to cycle whether the paned should grab focus to allow the user to change position of the handle by using key bindings. This is a keybinding signal. The default binding for this signal is F8.generated/jsx.ts:7194
onMoveHandle()?(self, scrollType) => boolean | nullEmitted to move the handle with key bindings. This is a keybinding signal. The default bindings for this signal are Ctrl+, , Ctrl+, , Ctrl+, , Ctrl+, , PgUp, PgDn, Home, End.generated/jsx.ts:7207
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:7223
onToggleHandleFocus()?(self) => boolean | nullEmitted to accept the current position of the handle and then move focus to the next widget in the focus chain. This is a keybinding signal. The default binding is Tab.generated/jsx.ts:7216
orientation?Gtk.OrientationThe orientation of the orientable.generated/jsx.ts:7155
position?numberPosition of the separator in pixels, from the left/top.generated/jsx.ts:7122
positionSet?booleanWhether the Paned.position property has been set.generated/jsx.ts:7124
ref?Ref<Gtk.Paned>-generated/jsx.ts:7239
resizeEndChild?booleanDetermines whether the second child expands and shrinks along with the paned widget.generated/jsx.ts:7129
resizeStartChild?booleanDetermines whether the first child expands and shrinks along with the paned widget.generated/jsx.ts:7134
shrinkEndChild?booleanDetermines whether the second child can be made smaller than its requisition.generated/jsx.ts:7139
shrinkStartChild?booleanDetermines whether the first child can be made smaller than its requisition.generated/jsx.ts:7144
startChild?Gtk.Widget | nullThe first child.generated/jsx.ts:7146
wideHandle?booleanWhether the GtkPaned should provide a stronger visual separation. For example, this could be set when a paned contains two Notebooks, whose tab rows would otherwise merge visually.generated/jsx.ts:7153