| GNOME Docking Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
struct GdlDockBar; enum GdlDockBarStyle; GtkWidget * gdl_dock_bar_new (GObject *master); void gdl_dock_bar_set_orientation (GdlDockBar *dockbar,GtkOrientation orientation); GtkOrientation gdl_dock_bar_get_orientation (GdlDockBar *dockbar); void gdl_dock_bar_set_style (GdlDockBar *dockbar,GdlDockBarStyle style); GdlDockBarStyle gdl_dock_bar_get_style (GdlDockBar *dockbar);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBox +----GdlDockBar
GEnum +----GdlDockBarStyle
"dockbar-style" GdlDockBarStyle : Read / Write / Construct "master" GObject* : Read / Write
This docking bar is a widget containing a button for each iconified GdlDockItem widget. The widget can be re-opened by clicking on it.
A dock bar is associated with one GdlDockMaster and will get all iconified widgets of this master. This can includes widgets from several GdlDock objects.
typedef enum {
GDL_DOCK_BAR_ICONS,
GDL_DOCK_BAR_TEXT,
GDL_DOCK_BAR_BOTH,
GDL_DOCK_BAR_AUTO
} GdlDockBarStyle;
Used to customize the appearance of a GdlDockBar.
GtkWidget * gdl_dock_bar_new (GObject *master);
Creates a new GDL dock bar. If a GdlDockObject is used, the dock bar will be associated with the master of this object.
|
The associated GdlDockMaster or GdlDockObject object. [allow-none] |
Returns : |
The newly created dock bar. |
void gdl_dock_bar_set_orientation (GdlDockBar *dockbar,GtkOrientation orientation);
gdl_dock_bar_set_orientation has been deprecated since version 3.6 and should not be used in newly-written code. Use gtk_orientable_set_orientation() instead.
Set the orientation of the dockbar.
|
a GdlDockBar |
|
the new orientation |
GtkOrientation gdl_dock_bar_get_orientation (GdlDockBar *dockbar);
gdl_dock_bar_get_orientation has been deprecated since version 3.6 and should not be used in newly-written code. Use gtk_orientable_get_orientation() instead.
Retrieves the orientation of the dockbar.
|
a GdlDockBar |
Returns : |
the orientation of the docbar
|
void gdl_dock_bar_set_style (GdlDockBar *dockbar,GdlDockBarStyle style);
Set the style of the dockbar.
|
a GdlDockBar |
|
the new style |
GdlDockBarStyle gdl_dock_bar_get_style (GdlDockBar *dockbar);
Retrieves the style of the dockbar.
|
a GdlDockBar |
Returns : |
the style of the docbar
|
"dockbar-style" property"dockbar-style" GdlDockBarStyle : Read / Write / Construct
Dockbar style to show items on it.
Default value: GDL_DOCK_BAR_BOTH
"master" property"master" GObject* : Read / Write
The GdlDockMaster object attached to the dockbar.