VPaned

The VPaned widget is a container widget with two children arranged vertically. The division between the two panes is adjustable by the user by dragging a handle. See #GtkPaned for details.

GtkVPaned has been deprecated, use #GtkPaned instead.

Constructors

this
this(GtkVPaned* gtkVPaned, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this(Widget child1, Widget child2)

Creates a new HPaned and adds two widgets as it's children

this
this()

Create a new #GtkVPaned

Members

Functions

getStruct
void* getStruct()

the main Gtk struct as a void*

getVPanedStruct
GtkVPaned* getVPanedStruct()

Get the main Gtk struct

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

getType
GType getType()

Variables

gtkVPaned
GtkVPaned* gtkVPaned;

the main Gtk struct

Inherited Members

From Paned

gtkPaned
GtkPaned* gtkPaned;

the main Gtk struct

getPanedStruct
GtkPaned* getPanedStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
__anonymous
mixin OrientableT!(GtkPaned)
Undocumented in source.
add
void add(Widget child1, Widget child2)
getType
GType getType()
add1
void add1(Widget child)

Adds a child to the top or left pane with default parameters. This is equivalent to gtk_paned_pack1 (paned, child, FALSE, TRUE).

add2
void add2(Widget child)

Adds a child to the bottom or right pane with default parameters. This is equivalent to gtk_paned_pack2 (paned, child, TRUE, TRUE).

getChild1
Widget getChild1()

Obtains the first child of the paned widget.

getChild2
Widget getChild2()

Obtains the second child of the paned widget.

getHandleWindow
Window getHandleWindow()

Returns the #GdkWindow of the handle. This function is useful when handling button or motion events because it enables the callback to distinguish between the window of the paned, a child and the handle.

getPosition
int getPosition()

Obtains the position of the divider between the two panes.

pack1
void pack1(Widget child, bool resize, bool shrink)

Adds a child to the top or left pane.

pack2
void pack2(Widget child, bool resize, bool shrink)

Adds a child to the bottom or right pane.

setPosition
void setPosition(int position)

Sets the position of the divider between the two panes.

connectedSignals
int[string] connectedSignals;
Undocumented in source.
onAcceptPositionListeners
bool delegate(Paned)[] onAcceptPositionListeners;
Undocumented in source.
addOnAcceptPosition
void addOnAcceptPosition(bool delegate(Paned) dlg, ConnectFlags connectFlags)

The ::accept-position signal is a [keybinding signal]GtkBindingSignal which gets emitted to accept the current position of the handle when moving it using key bindings.

callBackAcceptPosition
int callBackAcceptPosition(GtkPaned* panedStruct, Paned _paned)
Undocumented in source. Be warned that the author may not have intended to support it.
onCancelPositionListeners
bool delegate(Paned)[] onCancelPositionListeners;
Undocumented in source.
addOnCancelPosition
void addOnCancelPosition(bool delegate(Paned) dlg, ConnectFlags connectFlags)

The ::cancel-position signal is a [keybinding signal]GtkBindingSignal which gets 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.

callBackCancelPosition
int callBackCancelPosition(GtkPaned* panedStruct, Paned _paned)
Undocumented in source. Be warned that the author may not have intended to support it.
onCycleChildFocusListeners
bool delegate(bool, Paned)[] onCycleChildFocusListeners;
Undocumented in source.
addOnCycleChildFocus
void addOnCycleChildFocus(bool delegate(bool, Paned) dlg, ConnectFlags connectFlags)

The ::cycle-child-focus signal is a [keybinding signal]GtkBindingSignal which gets emitted to cycle the focus between the children of the paned.

callBackCycleChildFocus
int callBackCycleChildFocus(GtkPaned* panedStruct, bool reversed, Paned _paned)
Undocumented in source. Be warned that the author may not have intended to support it.
onCycleHandleFocusListeners
bool delegate(bool, Paned)[] onCycleHandleFocusListeners;
Undocumented in source.
addOnCycleHandleFocus
void addOnCycleHandleFocus(bool delegate(bool, Paned) dlg, ConnectFlags connectFlags)

The ::cycle-handle-focus signal is a [keybinding signal]GtkBindingSignal which gets emitted to cycle whether the paned should grab focus to allow the user to change position of the handle by using key bindings.

callBackCycleHandleFocus
int callBackCycleHandleFocus(GtkPaned* panedStruct, bool reversed, Paned _paned)
Undocumented in source. Be warned that the author may not have intended to support it.
onMoveHandleListeners
bool delegate(GtkScrollType, Paned)[] onMoveHandleListeners;
Undocumented in source.
addOnMoveHandle
void addOnMoveHandle(bool delegate(GtkScrollType, Paned) dlg, ConnectFlags connectFlags)

The ::move-handle signal is a [keybinding signal]GtkBindingSignal which gets emitted to move the handle when the user is using key bindings to move it.

callBackMoveHandle
int callBackMoveHandle(GtkPaned* panedStruct, GtkScrollType scrollType, Paned _paned)
Undocumented in source. Be warned that the author may not have intended to support it.
onToggleHandleFocusListeners
bool delegate(Paned)[] onToggleHandleFocusListeners;
Undocumented in source.
addOnToggleHandleFocus
void addOnToggleHandleFocus(bool delegate(Paned) dlg, ConnectFlags connectFlags)

The ::toggle-handle-focus is a [keybinding signal]GtkBindingSignal which gets emitted to accept the current position of the handle and then move focus to the next widget in the focus chain.

callBackToggleHandleFocus
int callBackToggleHandleFocus(GtkPaned* panedStruct, Paned _paned)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta