set_default_direction

function set_default_direction(dir:Gtk.TextDirection):void {
    // Gjs wrapper for gtk_widget_set_default_direction()
}

Sets the default reading direction for widgets where the direction has not been explicitly set by Gtk.Widget.prototype.set_direction.

dir

the new default direction. This cannot be Gtk.TextDirection.none.