panel.position

Module for [Position] class

Types 3

Specifies a position in the dock. You receive a #PanelPosition in the handler to signal@PanelDock::create-frame.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Position self() nothrowReturns `this`, for use in `with` statements.
PositionGidBuilder builder() static nothrowGet builder for [panel.position.Position] Returns: New builder object
panel.types.Area area() @property nothrowGet `area` property. Returns: The area.
void area(panel.types.Area propval) @property nothrowSet `area` property. Params: propval = The area.
bool areaSet() @property nothrowGet `areaSet` property. Returns: The area is set.
void areaSet(bool propval) @property nothrowSet `areaSet` property. Params: propval = The area is set.
uint column() @property nothrowGet `column` property. Returns: The column in the position.
void column(uint propval) @property nothrowSet `column` property. Params: propval = The column in the position.
bool columnSet() @property nothrowGet `columnSet` property. Returns: The column is set.
void columnSet(bool propval) @property nothrowSet `columnSet` property. Params: propval = The column is set.
uint depth() @property nothrow
void depth(uint propval) @property nothrow
bool depthSet() @property nothrow
void depthSet(bool propval) @property nothrow
uint row() @property nothrow
void row(uint propval) @property nothrow
bool rowSet() @property nothrow
void rowSet(bool propval) @property nothrow
panel.position.Position newFromVariant(glib.variant.Variant variant) static nothrowCreate a #PanelPosition from a #GVariant.
bool equal(panel.position.Position b) nothrowCompares two #PanelPosition.
panel.types.Area getArea() nothrowGets the area. Returns: the area.
bool getAreaSet() nothrowGets wether the area is set. Returns: the wether the area is set.
uint getColumn() nothrow
bool getColumnSet() nothrow
uint getDepth() nothrow
bool getDepthSet() nothrow
uint getRow() nothrow
bool getRowSet() nothrow
bool isIndeterminate() nothrowTells is the position is indeterminate. Returns: whether the position is indeterminate.
void setArea(panel.types.Area area) nothrowSets the area.
void setAreaSet(bool areaSet) nothrowSets whether the area is set.
void setColumn(uint column) nothrow
void setColumnSet(bool columnSet) nothrow
void setDepth(uint depth) nothrow
void setDepthSet(bool depthSet) nothrow
void setRow(uint row) nothrow
void setRowSet(bool rowSet) nothrow
glib.variant.Variant toVariant() nothrowConvert a #PanelPosition to a #GVariant. Returns: the new #GVariant containing the positon values
Constructors
this(void * ptr, Flag!"Take" take)
this()Create a position. Returns: a newly created instance of #PanelPosition.

Fluent builder implementation template for panel.position.Position

Methods
T area(panel.types.Area propval) nothrowSet `area` property. Params: propval = The area. Returns: Builder instance for fluent chaining
T areaSet(bool propval) nothrowSet `areaSet` property. Params: propval = The area is set. Returns: Builder instance for fluent chaining
T column(uint propval) nothrowSet `column` property. Params: propval = The column in the position. Returns: Builder instance for fluent chaining
T columnSet(bool propval) nothrowSet `columnSet` property. Params: propval = The column is set. Returns: Builder instance for fluent chaining
T depth(uint propval) nothrow
T depthSet(bool propval) nothrow
T row(uint propval) nothrow
T rowSet(bool propval) nothrow

Fluent builder for panel.position.Position

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