Method: Tk::BLT::Tabnotebook#insert
- Defined in:
- lib/tkextlib/blt/tabnotebook.rb
#insert(pos = nil, keys = {}) ⇒ Object
96 97 98 99 100 101 102 103 104 105 |
# File 'lib/tkextlib/blt/tabnotebook.rb', line 96 def insert(pos=nil, keys={}) if pos.kind_of?(Hash) keys = pos pos = nil end pos = 'end' if pos.nil? Tk::BLT::Tabnotebook::Tab.new(self, nil, tk_send('insert', tagindex(pos), keys)) end |