Gdl.DockBar

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gdl.DockBar Gdl.DockBar Gtk.Box Gtk.Box Gtk.Box->Gdl.DockBar Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new (master)

get_orientation ()

get_style ()

set_orientation (orientation)

set_style (style)

Virtual Methods

Inherited:

Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)

Name

Type

Flags

Short Description

dockbar-style

Gdl.DockBarStyle

r/w/c

Dockbar style to show items on it

master

GObject.Object

r/w

Gdl.DockMaster object which the dockbar widget is attached to

Child Properties

Inherited:

Gtk.Box (5)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

deprecated_dock

Gdl.Dock

r

parent

Gtk.Box

r

Class Details

class Gdl.DockBar(*args, **kwargs)
Bases:

Gtk.Box

Abstract:

No

Structure:

Gdl.DockBarClass

classmethod new(master)
Parameters:

master (GObject.Object or None) – The associated Gdl.DockMaster or Gdl.DockObject object

Returns:

The newly created dock bar.

Return type:

Gtk.Widget

Creates a new GDL dock bar. If a Gdl.DockObject is used, the dock bar will be associated with the master of this object.

get_orientation()
Returns:

the orientation of the docbar

Return type:

Gtk.Orientation

Retrieves the orientation of the self.

Deprecated since version 3.6: Use Gtk.Orientable.get_orientation() instead.

get_style()
Returns:

the style of the docbar

Return type:

Gdl.DockBarStyle

Retrieves the style of the self.

set_orientation(orientation)
Parameters:

orientation (Gtk.Orientation) – the new orientation

Set the orientation of the self.

Deprecated since version 3.6: Use Gtk.Orientable.set_orientation() instead.

set_style(style)
Parameters:

style (Gdl.DockBarStyle) – the new style

Set the style of the self.

Property Details

Gdl.DockBar.props.dockbar_style
Name:

dockbar-style

Type:

Gdl.DockBarStyle

Default Value:

Gdl.DockBarStyle.BOTH

Flags:

READABLE, WRITABLE, CONSTRUCT

Dockbar style to show items on it

Gdl.DockBar.props.master
Name:

master

Type:

GObject.Object

Default Value:

None

Flags:

READABLE, WRITABLE

The Gdl.DockMaster object attached to the dockbar.