Gtk.Frame.new

function new(label:String):Gtk.Widget {
    // Gjs wrapper for gtk_frame_new()
}

Creates a new Gtk.Frame, with optional label label. If label is null, the label is omitted.

label

the text to use as the label of the frame

Returns

a new Gtk.Frame widget