[655:7] extends: object
Generated low-level callback wrapper for GIR callback accept-position.
PanedAcceptpositionCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[795:7] extends: object
Generated low-level callback wrapper for GIR callback cycle-child-focus.
PanedCyclechildfocusCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, reversed, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[1078:14] static extends: object
Generated metadata helpers for Paned class surfaces.
properties ()
Returns property metadata for
Paned.
A list.signals ()
Returns signal metadata for
Paned.
A list.[866:7] extends: object
Generated low-level callback wrapper for GIR callback cycle-handle-focus.
PanedCyclehandlefocusCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, reversed, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[937:7] extends: object
Generated low-level callback wrapper for GIR callback move-handle.
PanedMovehandleCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, scroll_type, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[54:7] extends: object
Arranges its children in two panes, horizontally or vertically.
GtkPaned is resized, that child will expand or shrink along
with the paned widget. If "shrink" is true, then that child can be made
smaller than its requisition by the user. Setting "shrink" to false allows
the application to set a minimum size. If "resize" is false for both
children, then this is treated as if "resize" is true for both children. The
application can set the position of the slider as if it were set by the user,
by calling [method@Gtk.Paned.set_position]. # Shortcuts and Gestures The
following signals have default keybindings: -
[signal@Gtk.Paned::accept-position] - [signal@Gtk.Paned::cancel-position] -
[signal@Gtk.Paned::cycle-child-focus] -
[signal@Gtk.Paned::cycle-handle-focus] - [signal@Gtk.Paned::move-handle] -
[signal@Gtk.Paned::toggle-handle-focus] # CSS nodes paned ├── <child> ├── separator[.wide] ╰── <child> GtkPaned has a main CSS node with name
paned, and a subnode for the separator with name separator. The subnode gets
a .wide style class when the paned is supposed to be wide. In horizontal
orientation, the nodes are arranged based on the text direction, so in
left-to-right mode, :first-child will select the leftmost child, while it
will select the rightmost child in RTL layouts. ## Creating a paned widget
with minimum sizes. c GtkWidget *hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL); GtkWidget *frame1 = gtk_frame_new (NULL); GtkWidget *frame2 = gtk_frame_new (NULL); gtk_widget_set_size_request (hpaned, 200, -1); gtk_paned_set_start_child (GTK_PANED (hpaned), frame1); gtk_paned_set_resize_start_child (GTK_PANED (hpaned), TRUE); gtk_paned_set_shrink_start_child (GTK_PANED (hpaned), FALSE); gtk_widget_set_size_request (frame1, 50, -1); gtk_paned_set_end_child (GTK_PANED (hpaned), frame2); gtk_paned_set_resize_end_child (GTK_PANED (hpaned), FALSE); gtk_paned_set_shrink_end_child (GTK_PANED (hpaned), FALSE); gtk_widget_set_size_request (frame2, 50, -1);
Paned (orientation = null)
Creates a new
GtkPanedwidget.
orientation is the paned’s orientation..toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asWidget ()
Wraps this handle as
Widget.
A Widget object.asAccessible ()
Wraps this handle as
Accessible.
A Accessible object.asAccessibleRange ()
Wraps this handle as
AccessibleRange.
A AccessibleRange object.asBuildable ()
Wraps this handle as
Buildable.
A Buildable object.asConstraintTarget ()
Wraps this handle as
ConstraintTarget.
A ConstraintTarget object.asOrientable ()
Wraps this handle as
Orientable.
A Orientable object.connectSignal (string Name, CallbackObj)
Connects one generated callback wrapper to a named signal.
Name is the signal name.CallbackObj is the generated callback wrapper to connect.The connected handler id.disconnectSignalHandler (int HandlerId)
Disconnects one retained signal handler id.
HandlerId is the signal handler id to disconnect.None.setOnAcceptposition (callback Fn, UserData = null)
Emitted 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.
Fn is the Aussom callback.Fn is called with (Paned Self).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnCancelposition (callback Fn, UserData = null)
Emitted 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.
Fn is the Aussom callback.Fn is called with (Paned Self).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnCyclechildfocus (callback Fn, UserData = null)
Emitted to cycle the focus between the children of the paned. This is a keybinding signal. The default binding is F6.
Fn is the Aussom callback.Fn is called with (Paned Self, bool Reversed).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnCyclehandlefocus (callback Fn, UserData = null)
Emitted 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.
Fn is the Aussom callback.Fn is called with (Paned Self, bool Reversed).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnMovehandle (callback Fn, UserData = null)
Emitted 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.
Fn is the Aussom callback.Fn is called with (Paned Self, string Scroll_type).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.setOnTogglehandlefocus (callback Fn, UserData = null)
Emitted 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.
Fn is the Aussom callback.Fn is called with (Paned Self).UserData is retained and passed through to the generated callback wrapper when provided.The connected handler id.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setEndchild (object Value)
The second child.
Value is the new property value.None.setPosition (int Value)
Position of the separator in pixels, from the left/top.
Value is the new property value.None.setPositionset (bool Value)
Whether the [property@Gtk.Paned:position] property has been set.
Value is the new property value.None.setResizeendchild (bool Value)
Determines whether the second child expands and shrinks along with the paned widget.
Value is the new property value.None.setResizestartchild (bool Value)
Determines whether the first child expands and shrinks along with the paned widget.
Value is the new property value.None.setShrinkendchild (bool Value)
Determines whether the second child can be made smaller than its requisition.
Value is the new property value.None.setShrinkstartchild (bool Value)
Determines whether the first child can be made smaller than its requisition.
Value is the new property value.None.setStartchild (object Value)
The first child.
Value is the new property value.None.setWidehandle (bool Value)
Whether the
GtkPanedshould provide a stronger visual separation. For example, this could be set when a paned contains two [class@Gtk.Notebook]s, whose tab rows would otherwise merge visually.
Value is the new property value.None.get_end_child ()
Retrieves the end child of the given
GtkPaned.
get_position ()
Obtains the position of the divider between the two panes.
get_resize_end_child ()
Returns whether the [property@Gtk.Paned:end-child] can be resized.
get_resize_start_child ()
Returns whether the [property@Gtk.Paned:start-child] can be resized.
get_shrink_end_child ()
Returns whether the [property@Gtk.Paned:end-child] can shrink.
get_shrink_start_child ()
Returns whether the [property@Gtk.Paned:start-child] can shrink.
get_start_child ()
Retrieves the start child of the given
GtkPaned.
get_wide_handle ()
Gets whether the separator should be wide.
set_end_child (object child)
Sets the end child of @paned to @child. If @child is
NULL, the existing child will be removed.
child is the widget to add.None.set_position (int position)
Sets the position of the divider between the two panes.
position is pixel position of divider, a negative value means that the position is unset.None.set_resize_end_child (bool resize)
Sets whether the [property@Gtk.Paned:end-child] can be resized.
resize is true to let the end child be resized.None.set_resize_start_child (bool resize)
Sets whether the [property@Gtk.Paned:start-child] can be resized.
resize is true to let the start child be resized.None.set_shrink_end_child (bool resize)
Sets whether the [property@Gtk.Paned:end-child] can shrink.
resize is true to let the end child be shrunk.None.set_shrink_start_child (bool resize)
Sets whether the [property@Gtk.Paned:start-child] can shrink.
resize is true to let the start child be shrunk.None.set_start_child (object child)
Sets the start child of @paned to @child. If @child is
NULL, the existing child will be removed.
child is the widget to add.None.set_wide_handle (bool wide)
Sets whether the separator should be wide.
wide is the new value for the [property@Gtk.Paned:wide-handle] property.None.[1008:7] extends: object
Generated low-level callback wrapper for GIR callback toggle-handle-focus.
PanedTogglehandlefocusCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[725:7] extends: object
Generated low-level callback wrapper for GIR callback cancel-position.
PanedCancelpositionCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (nativeSelf, nativeUserData)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.