Gtk.Requisition.new

function new():Gtk.Requisition {
    // Gjs wrapper for gtk_requisition_new()
}

Allocates a new Gtk.Requisition structure and initializes its elements to zero.

Since 3.0

Returns

a new empty Gtk.Requisition. The newly allocated Gtk.Requisition should be freed with Gtk.free.