Module: Gtk::ButtonsType

Defined in:
lib/gtk/buttons_type.rb

Constant Summary collapse

NONE =
0
OK =
1
CLOSE =
2
CANCEL =
3
YES_NO =
4
OK_CANCEL =
5

Class Method Summary collapse

Class Method Details

.[](symbol) ⇒ Object



10
11
12
# File 'lib/gtk/buttons_type.rb', line 10

def self.[] symbol
  const_get(symbol.to_s.upcase.to_sym)
end