Gtk::CheckButton
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 ('toggled') is also inherited from Gtk::ToggleButton.
クラスメソッド
Gtk::CheckButton.new(label = nil, use_underline = true)
-
Creates a new Gtk::CheckButton with a Gtk::Label to the right of it.
If use_underline is true, the label will be created underscores in label indicate the mnemonic for the check button.
- label : the text label to display next to the radio button.
- use_underline : true if the label will be created underscores in label indicate the mnemonic for check button.
- Returns: a new Gtk::CheckButton.
Gtk::CheckButton.new(stock)
-
Creates a new Gtk::CheckButton with a Gtk::Stock constant value.
- stock: a Gtk::Stock constant value.
- Returns: a new Gtk::CheckButton.
キーワード:
参照:[Ruby/GTK Object Hierarchy] [Gtk::RC] [gtk2-tut-widget-overview] [Ruby/GTK] [チェックボタン] [Gtk::CheckButton] [Gtk::RadioButton] [Gtk::ToggleButton]