![]() |
![]() |
![]() |
GDL Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
struct GdlDock; struct GdlDockClass; #define GDL_DOCK_IS_CONTROLLER (dock) GtkWidget * gdl_dock_new (void
); GtkWidget * gdl_dock_new_from (GdlDock *original
,gboolean floating
); void gdl_dock_add_item (GdlDock *dock
,GdlDockItem *item
,GdlDockPlacement place
); void gdl_dock_add_floating_item (GdlDock *dock
,GdlDockItem *item
,gint x
,gint y
,gint width
,gint height
); GdlDockItem * gdl_dock_get_item_by_name (GdlDock *dock
,const gchar *name
); GdlDockPlaceholder * gdl_dock_get_placeholder_by_name (GdlDock *dock
,const gchar *name
); GList * gdl_dock_get_named_items (GdlDock *dock
); GdlDock * gdl_dock_object_get_toplevel (GdlDockObject *object
); void gdl_dock_xor_rect (GdlDock *dock
,GdkRectangle *rect
); void gdl_dock_xor_rect_hide (GdlDock *dock
); GdlDockPrivate;
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GdlDockObject +----GdlDock
"default-title" gchar* : Read / Write "floating" gboolean : Read / Write / Construct Only "floatx" gint : Read / Write / Construct "floaty" gint : Read / Write / Construct "height" gint : Read / Write / Construct "width" gint : Read / Write / Construct
struct GdlDockClass { GdlDockObjectClass parent_class; void (* layout_changed) (GdlDock *dock); /* proxy signal for the master */ };
void gdl_dock_add_item (GdlDock *dock
,GdlDockItem *item
,GdlDockPlacement place
);
void gdl_dock_add_floating_item (GdlDock *dock
,GdlDockItem *item
,gint x
,gint y
,gint width
,gint height
);
GdlDockItem * gdl_dock_get_item_by_name (GdlDock *dock
,const gchar *name
);
GdlDockPlaceholder * gdl_dock_get_placeholder_by_name (GdlDock *dock
,const gchar *name
);
"default-title"
property"default-title" gchar* : Read / Write
Default title for the newly created floating docks.
Default value: NULL
"floating"
property"floating" gboolean : Read / Write / Construct Only
Whether the dock is floating in its own window.
Default value: FALSE
"floatx"
property"floatx" gint : Read / Write / Construct
X coordinate for a floating dock.
Default value: 0
"floaty"
property"floaty" gint : Read / Write / Construct
Y coordinate for a floating dock.
Default value: 0
"height"
property"height" gint : Read / Write / Construct
Height for the dock when it's of floating type.
Allowed values: >= G_MAXULONG
Default value: -1
"width"
property"width" gint : Read / Write / Construct
Width for the dock when it's of floating type.
Allowed values: >= G_MAXULONG
Default value: -1