HPaned

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

GtkHPaned has been deprecated, use #GtkPaned instead.

Constructors

this
this(GtkHPaned* gtkHPaned, 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 #GtkHPaned

Members

Functions

getHPanedStruct
GtkHPaned* getHPanedStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gtkHPaned
GtkHPaned* gtkHPaned;

the main Gtk struct

Inherited Members

From Paned

gtkPaned
GtkPaned* gtkPaned;

the main Gtk struct

getPanedStruct
GtkPaned* getPanedStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

__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.

getWideHandle
bool getWideHandle()

Gets the #GtkPaned:wide-handle property.

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.

setWideHandle
void setWideHandle(bool wide)

Sets the #GtkPaned:wide-handle property.

addOnAcceptPosition
gulong 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.

addOnCancelPosition
gulong 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.

addOnCycleChildFocus
gulong 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.

addOnCycleHandleFocus
gulong 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.

addOnMoveHandle
gulong 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.

addOnToggleHandleFocus
gulong 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.

Meta