Gtk.AccelLabel.prototype.get_accel_width

function get_accel_width():Number {
    // Gjs wrapper for gtk_accel_label_get_accel_width()
}

Returns the width needed to display the accelerator key(s). This is used by menus to align all of the Gtk.MenuItem widgets, and shouldn't be needed by applications.

Returns

the width needed to display the accelerator key(s).