Gtk.OverlayLayoutChild

g GObject.Object GObject.Object Gtk.LayoutChild Gtk.LayoutChild GObject.Object->Gtk.LayoutChild Gtk.OverlayLayoutChild Gtk.OverlayLayoutChild Gtk.LayoutChild->Gtk.OverlayLayoutChild

Subclasses:

None

Methods

Inherited:

Gtk.LayoutChild (2), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_clip_overlay ()

get_measure ()

set_clip_overlay (clip_overlay)

set_measure (measure)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Gtk.LayoutChild (2)

Name

Type

Flags

Short Description

clip-overlay

bool

r/w/en

measure

bool

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Gtk.OverlayLayoutChild(**kwargs)
Bases:

Gtk.LayoutChild

Abstract:

No

Structure:

Gtk.OverlayLayoutChildClass

GtkLayoutChild subclass for children in a GtkOverlayLayout.

get_clip_overlay()[source]
Returns:

whether the child is clipped

Return type:

bool

Retrieves whether the child is clipped.

get_measure()[source]
Returns:

whether the child is measured

Return type:

bool

Retrieves whether the child is measured.

set_clip_overlay(clip_overlay)[source]
Parameters:

clip_overlay (bool) – whether to clip this child

Sets whether to clip this child.

set_measure(measure)[source]
Parameters:

measure (bool) – whether to measure this child

Sets whether to measure this child.

Property Details

Gtk.OverlayLayoutChild.props.clip_overlay
Name:

clip-overlay

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

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

Gtk.OverlayLayoutChild.props.measure
Name:

measure

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

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