Method: Tk::BWidget::NoteBook#tagid

Defined in:
lib/tkextlib/bwidget/notebook.rb

#tagid(id) ⇒ Object

[View source]

38
39
40
41
42
43
44
45
46
47
48
# File 'lib/tkextlib/bwidget/notebook.rb', line 38

def tagid(id)
  if id.kind_of?(TkWindow)
    #id.path
    id.epath
  elsif id.kind_of?(TkObject)
    id.to_eval
  else
    # id.to_s
    _get_eval_string(id)
  end
end