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*

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

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*

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.

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.

OnAcceptPositionDelegateWrapper
class OnAcceptPositionDelegateWrapper
Undocumented in source.
onAcceptPositionListeners
OnAcceptPositionDelegateWrapper[] onAcceptPositionListeners;
Undocumented in source.
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.

callBackAcceptPosition
int callBackAcceptPosition(GtkPaned* panedStruct, OnAcceptPositionDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackAcceptPositionDestroy
void callBackAcceptPositionDestroy(OnAcceptPositionDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnCancelPositionDelegateWrapper
class OnCancelPositionDelegateWrapper
Undocumented in source.
onCancelPositionListeners
OnCancelPositionDelegateWrapper[] onCancelPositionListeners;
Undocumented in source.
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.

callBackCancelPosition
int callBackCancelPosition(GtkPaned* panedStruct, OnCancelPositionDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackCancelPositionDestroy
void callBackCancelPositionDestroy(OnCancelPositionDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnCycleChildFocusDelegateWrapper
class OnCycleChildFocusDelegateWrapper
Undocumented in source.
onCycleChildFocusListeners
OnCycleChildFocusDelegateWrapper[] onCycleChildFocusListeners;
Undocumented in source.
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.

callBackCycleChildFocus
int callBackCycleChildFocus(GtkPaned* panedStruct, bool reversed, OnCycleChildFocusDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackCycleChildFocusDestroy
void callBackCycleChildFocusDestroy(OnCycleChildFocusDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnCycleHandleFocusDelegateWrapper
class OnCycleHandleFocusDelegateWrapper
Undocumented in source.
onCycleHandleFocusListeners
OnCycleHandleFocusDelegateWrapper[] onCycleHandleFocusListeners;
Undocumented in source.
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.

callBackCycleHandleFocus
int callBackCycleHandleFocus(GtkPaned* panedStruct, bool reversed, OnCycleHandleFocusDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackCycleHandleFocusDestroy
void callBackCycleHandleFocusDestroy(OnCycleHandleFocusDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnMoveHandleDelegateWrapper
class OnMoveHandleDelegateWrapper
Undocumented in source.
onMoveHandleListeners
OnMoveHandleDelegateWrapper[] onMoveHandleListeners;
Undocumented in source.
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.

callBackMoveHandle
int callBackMoveHandle(GtkPaned* panedStruct, GtkScrollType scrollType, OnMoveHandleDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackMoveHandleDestroy
void callBackMoveHandleDestroy(OnMoveHandleDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnToggleHandleFocusDelegateWrapper
class OnToggleHandleFocusDelegateWrapper
Undocumented in source.
onToggleHandleFocusListeners
OnToggleHandleFocusDelegateWrapper[] onToggleHandleFocusListeners;
Undocumented in source.
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.

callBackToggleHandleFocus
int callBackToggleHandleFocus(GtkPaned* panedStruct, OnToggleHandleFocusDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackToggleHandleFocusDestroy
void callBackToggleHandleFocusDestroy(OnToggleHandleFocusDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta