Gtk.RadioToolButton

const Gtk = imports.gi.Gtk;

let radio_tool_button = new Gtk.RadioToolButton({
    group: value,
});
  

A Gtk.RadioToolButton is a Gtk.ToolItem that contains a radio button, that is, a button that is part of a group of toggle buttons where only one button can be active at a time.

Use Gtk.new to create a new Gtk.RadioToolButton. Use Gtk.new_from_widget to create a new Gtk.RadioToolButton that is part of the same group as an existing Gtk.RadioToolButton. Use Gtk.new_from_stock or Gtk.new_with_stock_from_widget create a new Gtk.RadioToolButton containing a stock item.

Hierarchy

  • GObject.Object
    • GObject.InitiallyUnowned
      • Gtk.Widget
        • Gtk.Container
          • Gtk.Bin
            • Gtk.ToolItem
              • Gtk.ToolButton
                • Gtk.ToggleToolButton
                  • Gtk.RadioToolButton