Displaying 10 results from an estimated 10 matches for "gbutton".
Did you mean:
button
2013 Feb 14
0
Building a Package & using gWidgets
...edit the settings - like with the fix command above, to save a settings object to file, and to read in setting from an object file. I've built this with gWidgets:
gui <- function(){
INPUT <- matrix(c(1:4),nrow=2,ncol=2)
mainwin <- gwindow("MainWindow")
button1 <- gbutton("Edit Settings", cont=mainwin, handler=
function(h,...){
fix(INPUT)
print("Settings Edited")
})
button2 <- gbutton("RUN", cont=mainwin, handler=...
2008 Dec 12
1
How to mimic select.list using RGtk2/gWidgetsRGtk2?
I want to write a function mimic the function of select.list(), here
is my preliminary version.
select <- function(x,multiple=TRUE,...){
ans<-new.env()
g <- gwindow(title=title,wid=200,heigh=500)
x1<-ggroup(FALSE,con=g)
x2<-gtable(x,multiple=multiple,con=x1,expand=TRUE)
gbutton("OK",con=x1,handler=function(h,...){
value <- svalue(x2)
if (length(value)==0) value=""
assign("selected",value,env=h$action$env)
dispose(x1)
},action=list(env=ans))
ans
}
However, it doesn't behave as what I want. What I want is that: for
{select(c("a&qu...
2009 Dec 27
2
RGtk2 / gWidgets - addHandlerClicked Problem
In The following code, the table handler is executed twice when the
button is pressed (from the 2nd pressing on).
I want it to be executed only once. Does someone know, why this
happens and how I can change it?
library(gWidgets)
w <- gwindow()
b <- gbutton("press", cont=w)
tbl <- gtable(1:10, cont=w)
addhandlerclicked(b, handler=function(h, ...){
cat("addhandlerclicked button\n")
svalue(tbl, index=T) <- 1 # change the table value
})
addhandlerclicked(tbl, handler=function(h, ...){
cat("addhandlerclicked table\n&q...
2007 Mar 13
2
gtk button: how to create signal handler?
Hi
Kindly correct me if I am posting a wrong query in the forum.
I am trying to handle my "button:clicked" event. But not able to proceed
further. Please help.
Following is my code:
library(RGtk2)
win <- gtkWindowNew(type = NULL, show = TRUE)
butt <- gtkButtonNewWithLabel("Submit", show = TRUE)
win$Add(butt)
Now I want to do something when my button is clicked. How
2008 Feb 12
1
gWidgets process management
Hello,
I'm trying to make a graphical interface for an R function
I've written. A common use for the function is to call it with
specific parameters, and then watch the output as it evolves.
There's not necessarily a logical stopping point, so I usually
use ctrl-C when I'm done to stop it.
I've made a gWidgets interface to the function that gets some
user info and then on a
2013 Apr 23
1
Automation of R input
Hi all,
I have R script which during its run require an input like this:
choose between one of the grouping factor available :
c("Village", "Country")
can I automate this part, in other word to pass for example Village when I
am running the script.
One more thing the script is the TimeSeriesAnalysis {ndvits}.
Thanks in advance for any help or suggestion.
Regards,
Vahe
2007 Aug 22
2
gWidgets (tcltk): problem extracting values from widgets in glayout grid
Hello,
I haven't been able to find an example for the second case below -- or
perhaps I didn't recognize it when I saw it.
Is there a value for x such that svalue(x) will return "bbb", either by
itself or as part of an array? Or do I need to do something else
entirely?
(R2.5.1; Windows XP)
> #### gWidgets test
> options("guiToolkit"="tcltk")
>
2012 Nov 30
1
compiling R for Windows 64 bit
Dear All,
I'm trying to compile R for Windows 64 bit.
I'm following the instructions of R installation and administration
guide v2.15.2 (3.1; A.3.1.4; C.2.2)
and at the moment I compiled the default version (single threaded,
gcc, without external BLAS) ?on my notebook (windows xp 32 bit)
Now I'm trying to compile it on Windows servers 64 bit with the next
configuration :
1. Windows
2018 Feb 09
1
R Compilation gets stuck on Windows 64
Please note that building R on Windows is documented in "R Installation
and Administration", including links to external software. Particularly
there is a link to texinfo which is part of Rtools. The documentation is
maintained and it is a sufficient source of information for building R
on Windows.
https://cran.r-project.org/doc/manuals/r-release/R-admin.html
2010 Jan 28
3
Using tcltk or other graphical widgets to view zoo time series objects
Dear all,
I am looking at the R-help entry below:
http://finzi.psych.upenn.edu/R/Rhelp02/archive/26640.html
I have a more complicatedt problem. I have a zoo time series frame with
100+ sequences.
I want to cycle through them back and forth and compare them to the 1st
column at any time.
I need also a button to click when I need the viewed-selected sequence
(that is being compared to the