Gtk.MenuBar.prototype.get_pack_direction

function get_pack_direction():Gtk.PackDirection {
    // Gjs wrapper for gtk_menu_bar_get_pack_direction()
}

Retrieves the current pack direction of the menubar. See Gtk.set_pack_direction.

Since 2.8

Returns

the pack direction