AgsGui.LevelBox

g AgsGui.LevelBox AgsGui.LevelBox GObject.GInterface GObject.GInterface Gtk.Accessible Gtk.Accessible GObject.GInterface->Gtk.Accessible Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.ConstraintTarget Gtk.ConstraintTarget GObject.GInterface->Gtk.ConstraintTarget Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned Gtk.Widget Gtk.Widget GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Accessible->Gtk.Widget Gtk.Box Gtk.Box Gtk.Box->AgsGui.LevelBox Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget->Gtk.Widget Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Box

Subclasses:

None

Methods

Inherited:

Gtk.Box (14), Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1), Gtk.Orientable (2)

Structs:

Gtk.WidgetClass (18), GObject.ObjectClass (5)

class

new (orientation)

add_level (level)

child_height_request (level, height_request)

child_width_request (level, width_request)

get_level ()

remove_level (level)

Virtual Methods

Inherited:

Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)

do_child_height_request (level, height_request)

do_child_width_request (level, width_request)

Properties

Inherited:

Gtk.Box (4), Gtk.Widget (34), Gtk.Accessible (1), Gtk.Orientable (1)

Signals

Inherited:

Gtk.Widget (13), GObject.Object (1)

Name

Short Description

child-height-request

The ::child-height-request

child-width-request

The ::child-width-request

Fields

Inherited:

Gtk.Widget (13), GObject.Object (1)

Name

Type

Access

Description

box

Gtk.Box

r

level

[object]

r

Class Details

class AgsGui.LevelBox(**kwargs)
Bases:

Gtk.Box

Abstract:

No

Structure:

AgsGui.LevelBoxClass

classmethod new(orientation)
Parameters:

orientation (Gtk.Orientation) – the Gtk.Orientation

Returns:

the new AgsGui.LevelBox instance

Return type:

AgsGui.LevelBox

Create a new instance of AgsGui.LevelBox.

New in version 3.0.0.

add_level(level)
Parameters:

level (AgsGui.Level) – the AgsGui.Level

Add level to self.

New in version 4.0.0.

child_height_request(level, height_request)
Parameters:

Notify about child level height request.

New in version 4.0.0.

child_width_request(level, width_request)
Parameters:

Notify about child level width request.

New in version 4.0.0.

get_level()
Returns:

the GLib.List-struct containing AgsGui.Level

Return type:

[AgsGui.Level]

Get level.

New in version 4.0.0.

remove_level(level)
Parameters:

level (AgsGui.Level) – the AgsGui.Level

Remove level at position of self.

New in version 4.0.0.

do_child_height_request(level, height_request) virtual
Parameters:

Notify about child level height request.

New in version 4.0.0.

do_child_width_request(level, width_request) virtual
Parameters:

Notify about child level width request.

New in version 4.0.0.

Signal Details

AgsGui.LevelBox.signals.child_height_request(level_box, level, height_request)
Signal Name:

child-height-request

Flags:

RUN_LAST

Parameters:

The ::child-height-request

New in version 4.0.0.

AgsGui.LevelBox.signals.child_width_request(level_box, level, width_request)
Signal Name:

child-width-request

Flags:

RUN_LAST

Parameters:

The ::child-width-request

New in version 4.0.0.