Skip to content

Gtk.OverlayLayoutChild

class — extends LayoutChild

GtkLayoutChild subclass for children in a GtkOverlayLayout.

Methods

get_clip_overlay

def get_clip_overlay(self) -> bool

Retrieves whether the child is clipped.

get_measure

def get_measure(self) -> bool

Retrieves whether the child is measured.

set_clip_overlay

def set_clip_overlay(self, clip_overlay: bool) -> None

Sets whether to clip this child.

Parameters:

  • clip_overlay — whether to clip this child

set_measure

def set_measure(self, measure: bool) -> None

Sets whether to measure this child.

Parameters:

  • measure — whether to measure this child

Properties

clip_overlay

clip_overlay: bool  # read/write

Whether the child should be clipped to fit the parent's size.

measure

measure: bool  # read/write

Whether the child size should contribute to the GtkOverlayLayout's measurement.