![]() |
![]() |
![]() |
GNOME Docking Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct GdlDockBar; enum GdlDockBarStyle; GtkWidget * gdl_dock_bar_new (GdlDock *dock
); 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" GdlDockMaster* : Read / Write
A docking bar contains buttons representing minimized dock widgets. The widget can be re-opened by clicking on it. A dock bar is associated to one GdlDock and will get all minimized widgets of this dock object.
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 (GdlDock *dock
);
Creates a new GDL dock bar.
|
The associated GdlDock object |
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" GdlDockMaster* : Read / Write
The GdlDockMaster object attached to the dockbar.