Searched refs:imgdir (Results 1 – 2 of 2) sorted by relevance
37 def _load_imgs(imgdir): argument38 imgdir = os.path.expanduser(imgdir)39 if not os.path.isdir(imgdir):40 raise Exception("%r is not a directory, can't load images" % imgdir)41 for f in glob.glob("%s/*.gif" % imgdir):46 def install(imgdir): argument47 _load_imgs(imgdir)
11 imgdir = os.path.join(os.path.dirname(__file__), 'img') variable12 i1 = Tkinter.PhotoImage("img_close", file=os.path.join(imgdir, 'close.gif'))14 file=os.path.join(imgdir, 'close_active.gif'))16 file=os.path.join(imgdir, 'close_pressed.gif'))