def MkExFileWidget(w): msg = Tix.Message(w, font='-*-helvetica-bold-r-normal-*-14-*-*-*-*-*-*-*', relief=Tix.FLAT, width=240, anchor=Tix.N, text='The TixExFileSelectBox widget is more user friendly than the Motif style FileSelectBox.') # There's a bug in the ComboBoxes - the scrolledlistbox is destroyed box = Tix.ExFileSelectBox(w, bd=2, relief=Tix.RAISED) msg.pack(side=Tix.TOP, expand=1, fill=Tix.BOTH, padx=3, pady=3) box.pack(side=Tix.TOP, padx=3, pady=3)
def file_openfile(self): tmp = Tix.ExFileSelectBox(self.skyeye_body("Open file for reading"), command=self.file_openfile_command) tmp.pack(fill=Tix.BOTH, padx=8, pady=20) self.skyeye_redobody()
# -*-mode: python; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*-