Method: Tk::Tcllib::GetString_Dialog#configinfo
- Defined in:
- lib/tkextlib/tcllib/getstring.rb
#configinfo(slot = nil) ⇒ Object
125 126 127 128 129 130 131 132 133 |
# File 'lib/tkextlib/tcllib/getstring.rb', line 125 def configinfo(slot = nil) if slot slot = slot.to_s [ slot, nil, nil, nil, ( (slot == 'text')? @text: @keys[slot] ) ] else @keys.collect{|k, v| [ k, nil, nil, nil, v ] } \ << [ 'text', nil, nil, nil, @text ] end end |