search for: okcancel

Displaying 3 results from an estimated 3 matches for "okcancel".

2007 Dec 28
4
Return Value of TCl/Tk window in R
Hello, I have the TCl/Tk command "tkmessageBox(titel="",message="x",icon="question",type="okcancel")" in my R script. Now I want to perform some operation in relation to the user's choice, something like "if (okpressed) xxx else yyy" What values does this command give and how are they used? Thank you, Richard -- Richard M?ller - Am Spring 9 - D-58802 Balve-Eisborn www....
2007 Dec 29
3
tcltk again
...I use winDialog and it works. But I can't succeed in Linux. In short: ---------------------------------------------------- X11() ... res <- tkmessageBox(title="Beenden?", message="Vor dem Beenden als PDF speichern?", icon="question", type="okcancel") if (tclvalue(res) == "ok") ... ----------------------------------------------------- So far every thing is OK. Now I want a box the user should fill in the choosen filename (with a default) and then -------------------- pdf(filename) ... -------------------- I experimented with tk...
2008 May 25
9
Segmentation Fault.
Hi there, I am relative new to the wxRuby so please bear with me. I use Ubuntu Hardy Heron 8.04 release. I have installed the wxwidgets C libraries and then did a gem install wxruby The ruby extensions were downloaded and installed correctly. If i do $gem list --local .. wxruby (1.9.7) .. Then I tried to run a simple example "Hello World" as described in the tutorial