Class

GtkCustomLayout

Description [src]

final class Gtk.CustomLayout : Gtk.LayoutManager {
  /* No available fields */
}

GtkCustomLayout uses closures for size negotiation.

A GtkCustomLayoutuses closures matching to the old GtkWidget virtual functions for size negotiation, as a convenience API to ease the porting towards the corresponding `GtkLayoutManager virtual functions.

Hierarchy

hierarchy this GtkCustomLayout ancestor_0 GtkLayoutManager ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Constructors

gtk_custom_layout_new

Creates a new legacy layout manager.

Instance methods

Methods inherited from GtkLayoutManager (6)
gtk_layout_manager_allocate

Assigns the given width, height, and baseline to a widget, and computes the position and sizes of the children of the widget using the layout management policy of manager.

gtk_layout_manager_get_layout_child

Retrieves a GtkLayoutChild instance for the GtkLayoutManager, creating one if necessary.

gtk_layout_manager_get_request_mode

Retrieves the request mode of manager.

gtk_layout_manager_get_widget

Retrieves the GtkWidget using the given GtkLayoutManager.

gtk_layout_manager_layout_changed

Queues a resize on the GtkWidget using manager, if any.

gtk_layout_manager_measure

Measures the size of the widget using manager, for the given orientation and size.

Methods inherited from GObject (42)

Signals

Signals inherited from GObject (1)

Class structure

struct GtkCustomLayoutClass {
  GtkLayoutManagerClass parent_class;
  
}
Class members
parent_class
GtkLayoutManagerClass
  No description available.