Gtk.CheckButton

const Gtk = imports.gi.Gtk;

let check_button = new Gtk.CheckButton();
  

A Gtk.CheckButton places a discrete Gtk.ToggleButton next to a widget, (usually a Gtk.Label). See the section on Gtk.ToggleButton widgets for more information about toggle/check buttons.

The important signal ( Gtk.toggled ) is also inherited from Gtk.ToggleButton.

Hierarchy

  • GObject.Object
    • GObject.InitiallyUnowned
      • Gtk.Widget
        • Gtk.Container
          • Gtk.Bin
            • Gtk.Button
              • Gtk.ToggleButton
                • Gtk.CheckButton