Gtk.RecentAction.prototype.set_show_numbers

function set_show_numbers(show_numbers:Boolean):void {
    // Gjs wrapper for gtk_recent_action_set_show_numbers()
}

Sets whether a number should be added to the items shown by the widgets representing action. The numbers are shown to provide a unique character for a mnemonic to be used inside the menu item's label. Only the first ten items get a number to avoid clashes.

Since 2.12

show_numbers

true if the shown items should be numbered