Gtk.CustomLayout

g GObject.Object GObject.Object Gtk.LayoutManager Gtk.LayoutManager GObject.Object->Gtk.LayoutManager Gtk.CustomLayout Gtk.CustomLayout Gtk.LayoutManager->Gtk.CustomLayout

Subclasses:

None

Methods

Inherited:

Gtk.LayoutManager (6), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (request_mode, measure, allocate)

Virtual Methods

Inherited:

Gtk.LayoutManager (6), GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Gtk.CustomLayout(**kwargs)
Bases:

Gtk.LayoutManager

Abstract:

No

Structure:

Gtk.CustomLayoutClass

GtkCustomLayout uses closures for size negotiation.

A GtkCustomLayout ``uses closures matching to the old ``GtkWidget virtual functions for size negotiation, as a convenience API to ease the porting towards the corresponding `:obj:Gtk.LayoutManager virtual functions.

classmethod new(request_mode, measure, allocate)[source]
Parameters:
Returns:

the newly created GtkCustomLayout

Return type:

Gtk.LayoutManager

Creates a new legacy layout manager.

Legacy layout managers map to the old GtkWidget size negotiation virtual functions, and are meant to be used during the transition from layout containers to layout manager delegates.