Method: Tk::Tile::TNotebook#insert

Defined in:
lib/tkextlib/tile/tnotebook.rb

#insert(idx, subwin, keys = nil) ⇒ Object



123
124
125
126
127
128
129
130
# File 'lib/tkextlib/tile/tnotebook.rb', line 123

def insert(idx, subwin, keys=nil)
  if keys && keys != None
    tk_send('insert', idx, subwin, *hash_kv(keys))
  else
    tk_send('insert', idx, subwin)
  end
  self
end