Gtk.RadioAction

const Gtk = imports.gi.Gtk;

let radio_action = new Gtk.RadioAction({
    current_value: value,
    group: value,
    value: value,
});
  

A Gtk.RadioAction is similar to Gtk.RadioMenuItem. A number of radio actions can be linked together so that only one may be active at any one time.

Hierarchy

  • GObject.Object
    • Gtk.Action
      • Gtk.ToggleAction
        • Gtk.RadioAction