Gtk.MenuItem.prototype.get_use_underline

function get_use_underline():Boolean {
    // Gjs wrapper for gtk_menu_item_get_use_underline()
}

Checks if an underline in the text indicates the next character should be used for the mnemonic accelerator key.

Since 2.16

Returns

true if an embedded underline in the label indicates the mnemonic accelerator key.