search for: initialfil

Displaying 2 results from an estimated 2 matches for "initialfil".

Did you mean: initialfile
2007 Dec 29
3
tcltk again
Hello, the admonition of Prof. Ripley to search the documentation to solve my problem helped, today I read a lot more on Tcl/Tk than before ;-) But now I'm stuck again. With the help of my script some functions are plotted on the display, then I ask if the user wants to save it as pdf. In windows I use winDialog and it works. But I can't succeed in Linux. In short:
2008 Nov 08
1
Get Information
...the programme: tt <- tktoplevel() txt <- tktext(tt) tkwm.title(tt,"Saisi des modalitĂ©s") #intitule la fenĂȘtre tkgrid(txt) tkmark.set(txt,"insert","0.0") topMenu <- tkmenu(tt) tkconfigure(tt,menu=topMenu) cascade =function () {fileName=tclvalue(tkgetSaveFile(initialfile="modalite.txt",filetypes="{{JPEG Files} {.jpg .jpeg}} {{PDF File} {.pdf}} {{Text File} {.txt}} {{All files} *}")) return(fileName) } tkadd(topMenu,"command",label="Enregistrer",command=function () cascade()) Please...