HPaned

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

Constructors

this
this(GtkHPaned* gtkHPaned)

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()
Undocumented in source. Be warned that the author may not have intended to support it.
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.

Variables

gtkHPaned
GtkHPaned* gtkHPaned;

the main Gtk struct

Inherited Members

From Paned

gtkPaned
GtkPaned* gtkPaned;

the main Gtk struct

getPanedStruct
GtkPaned* getPanedStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
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)
connectedSignals
int[string] connectedSignals;
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 which gets emitted to accept the current position of the handle when moving it using key bindings. The default binding for this signal is Return or Space. Since 2.0

callBackAcceptPosition
gboolean callBackAcceptPosition(GtkPaned* widgetStruct, 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 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. The default binding for this signal is Escape. Since 2.0

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

The ::cycle-child-focus signal is a keybinding signal which gets emitted to cycle the focus between the children of the paned. The default binding is f6. Since 2.0

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

The ::cycle-handle-focus signal is a keybinding signal 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. The default binding for this signal is f8. Since 2.0

callBackCycleHandleFocus
gboolean callBackCycleHandleFocus(GtkPaned* widgetStruct, gboolean 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 which gets emitted to move the handle when the user is using key bindings to move it. Since 2.0

callBackMoveHandle
gboolean callBackMoveHandle(GtkPaned* widgetStruct, 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 which gets emitted to accept the current position of the handle and then move focus to the next widget in the focus chain. The default binding is Tab. Since 2.0

callBackToggleHandleFocus
gboolean callBackToggleHandleFocus(GtkPaned* widgetStruct, Paned _paned)
Undocumented in source. Be warned that the author may not have intended to support it.
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).

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

Adds a child to the top or left pane.

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

Adds a child to the bottom or right pane.

getChild1
Widget getChild1()

Obtains the first child of the paned widget. Since 2.4

getChild2
Widget getChild2()

Obtains the second child of the paned widget. Since 2.4

setPosition
void setPosition(int position)

Sets the position of the divider between the two panes.

getPosition
int getPosition()

Obtains the position of the divider between the two panes.

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. Since 2.20

Meta