Skip to main content

Type Alias: GtkPanedProps

GtkPanedProps = WidgetProps & object

Defined in: generated/jsx.ts:5754

Props for the GtkPaned widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:5853
endChild?Gtk.Widget | nullThe second child.generated/jsx.ts:5756
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:5801
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:5813
onCycleChildFocus?(reversed, self) => 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:5821
onCycleHandleFocus?(reversed, self) => 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:5830
onMoveHandle?(scrollType, self) => 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:5843
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:5852
orientation?Gtk.OrientationThe orientation of the orientable.generated/jsx.ts:5791
position?numberPosition of the separator in pixels, from the left/top.generated/jsx.ts:5758
positionSet?booleanWhether the Paned.position property has been set.generated/jsx.ts:5760
ref?Ref<Gtk.Paned>-generated/jsx.ts:5854
resizeEndChild?booleanDetermines whether the second child expands and shrinks along with the paned widget.generated/jsx.ts:5765
resizeStartChild?booleanDetermines whether the first child expands and shrinks along with the paned widget.generated/jsx.ts:5770
shrinkEndChild?booleanDetermines whether the second child can be made smaller than its requisition.generated/jsx.ts:5775
shrinkStartChild?booleanDetermines whether the first child can be made smaller than its requisition.generated/jsx.ts:5780
startChild?Gtk.Widget | nullThe first child.generated/jsx.ts:5782
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:5789