Method: Tk::BLT::Tabnotebook#get_tabobj

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

#get_tabobj(index) ⇒ Object



86
87
88
89
90
91
92
# File 'lib/tkextlib/blt/tabnotebook.rb', line 86

def get_tabobj(index)
  if (idx = tk_send_without_enc('id', tagindex(index))).empty?
    nil
  else
    Tk::BLT::Tabnotebook::Tab.new(self, nil, idx)
  end
end