AgsGui.Expander

g AgsGui.Expander AgsGui.Expander 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.Expander 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 ()

add (widget, x, y, width, height)

child_find (child)

remove (widget)

Virtual Methods

Inherited:

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

Properties

Inherited:

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

Signals

Inherited:

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

Fields

Inherited:

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

Name

Type

Access

Description

box

Gtk.Box

r

children

[object]

r

expander

Gtk.Expander

r

flags

AgsGui.ExpanderFlags

r

grid

Gtk.Grid

r

Class Details

class AgsGui.Expander(**kwargs)
Bases:

Gtk.Box

Abstract:

No

Structure:

AgsGui.ExpanderClass

classmethod new()
Returns:

a new AgsGui.Expander

Return type:

AgsGui.Expander

Creates an AgsGui.Expander

New in version 3.0.0.

add(widget, x, y, width, height)
Parameters:
  • widget (Gtk.Widget) – the child Gtk.Widget

  • x (int) – x-position

  • y (int) – y-position

  • width (int) – allocation width

  • height (int) – allocation height

Adds a Gtk.Widget to AgsGui.Expander

New in version 3.0.0.

child_find(child)
Parameters:

child (Gtk.Widget) – the Gtk.Widget

Returns:

the matching AgsGui.ExpanderChild-struct

Return type:

object or None

Find child of self.

New in version 3.0.0.

remove(widget)
Parameters:

widget (Gtk.Widget) – the child Gtk.Widget

Removes a Gtk.Widget of AgsGui.Expander

New in version 3.0.0.