Method: Tk::BLT::Table.create_container

Defined in:
lib/tkextlib/blt/table.rb

.create_container(container) ⇒ Object



319
320
321
322
323
324
325
326
327
328
329
# File 'lib/tkextlib/blt/table.rb', line 319

def create_container(container)
  tk_call('::blt::table', container)
  begin
    class << container
      include Tk::BLT::Table::TableContainer
    end
  rescue
    warn('fail to include TableContainer methods (frozen object?)')
  end
  container
end