Gtk.IconSource.prototype.get_direction

function get_direction():Gtk.TextDirection {
    // Gjs wrapper for gtk_icon_source_get_direction()
}

Obtains the text direction this icon source applies to. The return value is only useful/meaningful if the text direction is <emphasis>not</emphasis> wildcarded.

Returns

text direction this source matches