class_docstr: Example TreeItem subclass -- browse the file system.
class_docstr_tok: ["Example","TreeItem","subclass","--","browse","the","file","system","."]
code: def GetText(self):
      return os.path.basename(self.path) or self.path
  
imports: import os
  from tkinter import *
  from tkinter.ttk import Frame, Scrollbar
  from idlelib.config import idleConf
  from idlelib import zoomheight
label_desc: Use image node_id 2 for calling the FileTreeItem obj's underlying member method code with example usage: obj.GetText() and returns: unknown