Panel.Position¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Panel.Position(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Specifies a position in the dock. You receive a
Panel.Position
in the handler to [signal`PanelDock`:py:func:::create-frame<Panel.Position.signals.create_frame>].- classmethod new()¶
- Returns:
a newly created instance of
Panel.Position
.- Return type:
Create a position.
- classmethod new_from_variant(variant)¶
- Parameters:
variant (
GLib.Variant
) – aGLib.Variant
- Returns:
A newly created
Panel.Position
from theGLib.Variant
.- Return type:
Create a
Panel.Position
from aGLib.Variant
.
- equal(b)¶
- Parameters:
b (
Panel.Position
) – anotherPanel.Position
- Returns:
whether the two pane positions are equal.
- Return type:
Compares two
Panel.Position
.
- get_area()¶
- Returns:
the area.
- Return type:
Gets the area.
- is_indeterminate()¶
- Returns:
whether the position is indeterminate.
- Return type:
Tells is the position is indeterminate.
- set_area(area)¶
- Parameters:
area (
Panel.Area
) – thePanel.Area
Sets the area.
- set_area_set(area_set)¶
- Parameters:
area_set (
bool
) – whether the area is set.
Sets whether the area is set.
- to_variant()¶
- Returns:
the new
GLib.Variant
containing the positon values- Return type:
GLib.Variant
orNone
Convert a
Panel.Position
to aGLib.Variant
.
Property Details¶
- Panel.Position.props.area¶
- Name:
area
- Type:
- Default Value:
- Flags:
The area.
- Panel.Position.props.area_set¶
- Name:
area-set
- Type:
- Default Value:
- Flags:
The area is set.
- Panel.Position.props.column¶
- Name:
column
- Type:
- Default Value:
0
- Flags:
The column in the position.
- Panel.Position.props.column_set¶
- Name:
column-set
- Type:
- Default Value:
- Flags:
The column is set.
- Panel.Position.props.depth¶
- Name:
depth
- Type:
- Default Value:
0
- Flags:
- Panel.Position.props.depth_set¶
- Name:
depth-set
- Type:
- Default Value:
- Flags:
- Panel.Position.props.row¶
- Name:
row
- Type:
- Default Value:
0
- Flags: