Gtk.Separator.new

function new(orientation:Gtk.Orientation):Gtk.Widget {
    // Gjs wrapper for gtk_separator_new()
}

Creates a new Gtk.Separator with the given orientation.

Since 3.0

orientation

the separator's orientation.

Returns

a new Gtk.Separator.