:right-sidebar: True Bin =================================================================== .. currentmodule:: gi.repository.Adw .. class:: Bin(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.Widget`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gtk.Accessible`, :class:`~gi.repository.Gtk.Buildable`, :class:`~gi.repository.Gtk.ConstraintTarget` :Constructors: :: Bin(**properties) new() -> Gtk.Widget Constructors ------------ .. rst-class:: interim-class .. class:: Bin :no-index: .. classmethod:: new() -> ~gi.repository.Gtk.Widget Creates a new ``AdwBin``. Methods ------- .. rst-class:: interim-class .. class:: Bin :no-index: .. method:: get_child() -> ~gi.repository.Gtk.Widget | None Gets the child widget of ``self``. .. method:: set_child(child: ~gi.repository.Gtk.Widget | None = None) -> None Sets the child widget of ``self``. :param child: the child widget Properties ---------- .. rst-class:: interim-class .. class:: Bin :no-index: .. attribute:: props.child :type: ~gi.repository.Gtk.Widget The child widget of the ``AdwBin``. Fields ------ .. rst-class:: interim-class .. class:: Bin :no-index: .. attribute:: parent_instance