Namespace
Methods
G
I
Constants
TkCommandNames = ['::blt::tabnotebook'.freeze].freeze
 
WidgetClassName = 'Tabnotebook'.freeze
 
Instance Public methods
get_id(index)
Alias for: get_tab
get_tab(index)
Also aliased as: get_id
# File ext/tk/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
get_tabobj(index)
# File ext/tk/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
insert(pos=nil, keys={})
# File ext/tk/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