Gtk.MenuItem.prototype.set_use_underline

function set_use_underline(setting:Boolean):void {
    // Gjs wrapper for gtk_menu_item_set_use_underline()
}

If true, an underline in the text indicates the next character should be used for the mnemonic accelerator key.

Since 2.16

setting

true if underlines in the text indicate mnemonics