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(void* ptr, Flag!"Take" take)
this
this()

Create a new #GtkHPaned

Members

Functions

self
HPaned self()

Returns this, for use in with statements.

Properties

_gType
GType _gType [@property getter]

Static functions

_getGType
GType _getGType()
builder
HPanedGidBuilder builder()

Get builder for gtk.hpaned.HPaned

Inherited Members

From Paned

_getGType
GType _getGType()
_gType
GType _gType [@property getter]
self
Paned self()

Returns this, for use in with statements.

builder
PanedGidBuilder builder()

Get builder for gtk.paned.Paned

maxPosition
int maxPosition [@property getter]

Get maxPosition property.

minPosition
int minPosition [@property getter]

Get minPosition property.

position
int position [@property getter]
position
int position [@property setter]
positionSet
bool positionSet [@property getter]
positionSet
bool positionSet [@property setter]
wideHandle
bool wideHandle [@property getter]

Get wideHandle property.

wideHandle
bool wideHandle [@property setter]

Set wideHandle property.

add1
void add1(gtk.widget.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(gtk.widget.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
gtk.widget.Widget getChild1()

Obtains the first child of the paned widget.

getChild2
gtk.widget.Widget getChild2()

Obtains the second child of the paned widget.

getHandleWindow
gdk.window.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(gtk.widget.Widget child, bool resize, bool shrink)

Adds a child to the top or left pane.

pack2
void pack2(gtk.widget.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.

connectAcceptPosition
gulong connectAcceptPosition(T callback, Flag!"After" after)

Connect to AcceptPosition signal.

connectCancelPosition
gulong connectCancelPosition(T callback, Flag!"After" after)

Connect to CancelPosition signal.

connectCycleChildFocus
gulong connectCycleChildFocus(T callback, Flag!"After" after)

Connect to CycleChildFocus signal.

connectCycleHandleFocus
gulong connectCycleHandleFocus(T callback, Flag!"After" after)

Connect to CycleHandleFocus signal.

connectMoveHandle
gulong connectMoveHandle(T callback, Flag!"After" after)

Connect to MoveHandle signal.

connectToggleHandleFocus
gulong connectToggleHandleFocus(T callback, Flag!"After" after)

Connect to ToggleHandleFocus signal.