:right-sidebar: True BreakpointBin =================================================================== .. currentmodule:: gi.repository.Adw .. versionadded:: 1.4 .. class:: BreakpointBin(**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: :: BreakpointBin(**properties) new() -> Gtk.Widget Constructors ------------ .. rst-class:: interim-class .. class:: BreakpointBin :no-index: .. classmethod:: new() -> ~gi.repository.Gtk.Widget Creates a new ``AdwBreakpointBin``. .. versionadded:: 1.4 Methods ------- .. rst-class:: interim-class .. class:: BreakpointBin :no-index: .. method:: add_breakpoint(breakpoint: ~gi.repository.Adw.Breakpoint) -> None Adds ``breakpoint`` to ``self``. .. versionadded:: 1.4 :param breakpoint: the breakpoint to add .. method:: get_child() -> ~gi.repository.Gtk.Widget | None Gets the child widget of ``self``. .. versionadded:: 1.4 .. method:: get_current_breakpoint() -> ~gi.repository.Adw.Breakpoint | None Gets the current breakpoint. .. versionadded:: 1.4 .. method:: remove_breakpoint(breakpoint: ~gi.repository.Adw.Breakpoint) -> None Removes ``breakpoint`` from ``self``. .. versionadded:: 1.5 :param breakpoint: a breakpoint to remove .. method:: set_child(child: ~gi.repository.Gtk.Widget | None = None) -> None Sets the child widget of ``self``. .. versionadded:: 1.4 :param child: the child widget Properties ---------- .. rst-class:: interim-class .. class:: BreakpointBin :no-index: .. attribute:: props.child :type: ~gi.repository.Gtk.Widget The child widget. .. versionadded:: 1.4 .. attribute:: props.current_breakpoint :type: ~gi.repository.Adw.Breakpoint The current breakpoint. .. versionadded:: 1.4 Fields ------ .. rst-class:: interim-class .. class:: BreakpointBin :no-index: .. attribute:: parent_instance