Method: TkWindow#grid_config

Defined in:
lib/tk.rb

#grid_config(slot, value = None) ⇒ Object Also known as: grid_configure



5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
# File 'lib/tk.rb', line 5352

def grid_config(slot, value=None)
  #if slot.kind_of? Hash
  #  tk_call 'grid', 'configure', epath, *hash_kv(slot)
  #else
  #  tk_call 'grid', 'configure', epath, "-#{slot}", value
  #end
  if slot.kind_of? Hash
    TkGrid.configure(self, slot)
  else
    TkGrid.configure(self, slot=>value)
  end
end