Adw.Bin¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1)
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Adw.Bin(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A widget with one child.
<picture> <source srcset=”bin-dark.png” media=”(prefers-color-scheme: dark)”> <img src=”bin.png” alt=”bin”> </picture>
The
AdwBin
widget has only one child, set with the [property`Bin`:py:data::child<Adw.Bin.props.child>] property.It is useful for deriving subclasses, since it provides common code needed for handling a single child widget.
- classmethod new()¶
- Returns:
the new created
AdwBin
- Return type:
Creates a new
AdwBin
.
- get_child()¶
- Returns:
the child widget of self
- Return type:
Gtk.Widget
orNone
Gets the child widget of self.
- set_child(child)¶
- Parameters:
child (
Gtk.Widget
orNone
) – the child widget
Sets the child widget of self.
Property Details¶
- Adw.Bin.props.child¶
- Name:
child
- Type:
- Default Value:
- Flags:
The child widget of the
AdwBin
.