Gtk.MenuShell.prototype.prepend

function prepend(child:Gtk.Widget):void {
    // Gjs wrapper for gtk_menu_shell_prepend()
}

Adds a new Gtk.MenuItem to the beginning of the menu shell's item list.

child

The Gtk.MenuItem to add