Method: Tk::BLT::Tabnotebook#get_tab

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

#get_tab(index) ⇒ Object Also known as: get_id



77
78
79
80
81
82
83
# File 'lib/tkextlib/blt/tabnotebook.rb', line 77

def get_tab(index)
  if (idx = tk_send_without_enc('id', tagindex(index))).empty?
    nil
  else
    Tk::BLT::Tabset::Tab.id2obj(self, idx)
  end
end