public class AccelLabel : Box
AccelLabel is meant to be used as a
Gtk.MenuItem child for displaying a
GLib.Action's accelerator alongside the Menu Item label.
The class itself is similar to it's Gtk equivalent
Gtk.AccelLabel but follows elementary OS design conventions. Specifically, this
class uses Granite.accel_to_string for accelerator string parsing.
var copy_menuitem = new Gtk.MenuItem ();
copy_menuitem.set_action_name (ACTION_PREFIX + ACTION_COPY);
copy_menuitem.add (new Granite.AccelLabel.from_action_name (_("Copy"), copy_menuitem.action_name));
All known members inherited from class Gtk.Box
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable
All known members inherited from interface Gtk.Orientable