:right-sidebar: True OverlayLayoutChild =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: OverlayLayoutChild(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.LayoutChild`, :class:`~gi.repository.GObject.Object` ``GtkLayoutChild`` subclass for children in a ``GtkOverlayLayout``. Methods ------- .. rst-class:: interim-class .. class:: OverlayLayoutChild :no-index: .. method:: get_clip_overlay() -> bool Retrieves whether the child is clipped. .. method:: get_measure() -> bool Retrieves whether the child is measured. .. method:: set_clip_overlay(clip_overlay: bool) -> None Sets whether to clip this child. :param clip_overlay: whether to clip this child .. method:: set_measure(measure: bool) -> None Sets whether to measure this child. :param measure: whether to measure this child Properties ---------- .. rst-class:: interim-class .. class:: OverlayLayoutChild :no-index: .. attribute:: props.clip_overlay :type: bool Whether the child should be clipped to fit the parent's size. .. attribute:: props.measure :type: bool Whether the child size should contribute to the ``GtkOverlayLayout``'s measurement.