class Gtk::ToggleButton - gtk3-3.2.9 Documentation

# class Gtk::ToggleButton

### Public Class Methods

new(options={}) click to toggle source

    # File lib/gtk3/toggle-button.rb, line 20
    def initialize(options={})
      label = options[:label]
      use_underline = options[:use_underline]

      if label
        if use_underline
          initialize_new_with_mnemonic(label)
        else
          initialize_new_with_label(label)
        end
      else
        initialize_raw
      end
    end

Also aliased as: initialize_raw

### Public Instance Methods

initialize_raw(options={})
Alias for: new