panel.grid

Module for [Grid] class

Types 3

The #PanelGrid is a widget used to layout the dock item in the center area.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Grid self() nothrowReturns `this`, for use in `with` statements.
GridGidBuilder builder() static nothrowGet builder for [panel.grid.Grid] Returns: New builder object
void add(panel.widget.Widget widget) nothrowAdd a #PanelWidget to the grid.
void agreeToCloseAsync(gio.cancellable.Cancellable cancellable, gio.types.AsyncReadyCallback callback) nothrowRequest to close, asynchronously. This will display the save dialog.
void foreachFrame(panel.types.FrameCallback callback) nothrowCalls callback for each #PanelFrame within grid.
panel.grid_column.GridColumn getColumn(uint column) nothrowGets the #PanelGridColumn for a column index.
panel.grid_column.GridColumn getMostRecentColumn() nothrowGets the most recently acive column on a grid. Returns: a #PanelGridColumn
panel.frame.Frame getMostRecentFrame() nothrowGets the most recently acive frame on a grid. Returns: a #PanelGridFrame
uint getNColumns() nothrowGets the number of columns in the grid. Returns: The number of columns.
void insertColumn(uint position) nothrowInserts a column at position.
gulong connectCreateFrame(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T : panel.frame.Frame) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : panel.grid.Grid))) && Parameters!T.length < 2) nothrowConnect to `CreateFrame` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #PanelGrid. Returns: a newly created #PanelGrid

Fluent builder implementation template for panel.grid.Grid

Fluent builder for panel.grid.Grid

Methods
Grid build() nothrowCreate object from builder. Returns: New object