Top |
gboolean | floating | Read / Write / Construct Only |
int | floatx | Read / Write / Construct Only |
int | floaty | Read / Write / Construct Only |
int | height | Read / Write / Construct |
GdlDockObject * | host | Read / Write |
GdlDockPlacement | next-placement | Read / Write |
gboolean | sticky | Read / Write / Construct Only |
int | width | Read / Write / Construct |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GdlDockObject ╰── GdlDockPlaceholder
A dock placeholder is a widget allowing to keep track of a docking place. Unfortunately, all the details of the initial goal have been forgotten and the code has still some issues.
In GDL 3.6, this part has been deprecated. Placeholder widgets are not used anymore. Instead, closed widgets are hidden but kept in the widget hierarchy.
GtkWidget * gdl_dock_placeholder_new (const gchar *name
,GdlDockObject *object
,GdlDockPlacement position
,gboolean sticky
);
gdl_dock_placeholder_new
has been deprecated since version 3.6 and should not be used in newly-written code.
Creates a new dock placeholder at object
place. This is a kind of marker
allowing you to dock new items later at this place. It is not completely
working though.
name |
Unique name for identifying the dock object. |
|
object |
Corresponding GdlDockObject |
|
position |
The position to dock a new item in |
|
sticky |
|
void gdl_dock_placeholder_attach (GdlDockPlaceholder *ph
,GdlDockObject *object
);
gdl_dock_placeholder_attach
has been deprecated since version 3.6 and should not be used in newly-written code.
Move the placeholder to the position of object
.
“floating”
property“floating” gboolean
Whether the placeholder is standing in for a floating toplevel dock.
Owner: GdlDockPlaceholder
Flags: Read / Write / Construct Only
Default value: FALSE
“floatx”
property “floatx” int
X coordinate for dock when floating.
Owner: GdlDockPlaceholder
Flags: Read / Write / Construct Only
Allowed values: >= -1
Default value: -1
“floaty”
property “floaty” int
Y coordinate for dock when floating.
Owner: GdlDockPlaceholder
Flags: Read / Write / Construct Only
Allowed values: >= -1
Default value: -1
“height”
property “height” int
Height for the widget when it's attached to the placeholder.
Owner: GdlDockPlaceholder
Flags: Read / Write / Construct
Allowed values: >= -1
Default value: -1
“host”
property“host” GdlDockObject *
The dock object this placeholder is attached to.
Owner: GdlDockPlaceholder
Flags: Read / Write
“next-placement”
property“next-placement” GdlDockPlacement
The position an item will be docked to our host if a request is made to dock to us.
Owner: GdlDockPlaceholder
Flags: Read / Write
Default value: GDL_DOCK_CENTER
“sticky”
property“sticky” gboolean
Whether the placeholder will stick to its host or move up the hierarchy when the host is redocked.
Owner: GdlDockPlaceholder
Flags: Read / Write / Construct Only
Default value: FALSE