Displaying 20 results from an estimated 9000 matches similar to: "gwidget position on screen"
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")
>
2006 Oct 06
2
[R-pkg] New packages pmg, gWidgets, gWidgetsRGtk2
I'd like to announce three new packages on CRAN: pmg, gWidgets, and
gWidgetsRGtk2.
--John Verzani
1 PMG
*=*=*=
The pmg package for R provides a relatively simple graphical user
interface for R in a manner similar to the more mature RCmdr package.
Basically this means a menu-driven interface to dialogs that collect
arguments for R functions. This GUI was written with an eye towards
2006 Oct 06
2
[R-pkg] New packages pmg, gWidgets, gWidgetsRGtk2
I'd like to announce three new packages on CRAN: pmg, gWidgets, and
gWidgetsRGtk2.
--John Verzani
1 PMG
*=*=*=
The pmg package for R provides a relatively simple graphical user
interface for R in a manner similar to the more mature RCmdr package.
Basically this means a menu-driven interface to dialogs that collect
arguments for R functions. This GUI was written with an eye towards
2009 Jun 25
1
How do I define the method for gcheckboxgroup in gWidgets?
Hi All...
I?m trying to build a small demo using gWidgets which permits interactive
scaling and selection among different things to plot. I can get the widgets
for scaling to work just fine. I am using gcheckboxgroup to make the
(possibly multiple) selections. However, I can?t seem to figure out how to
properly define the gcheckboxgroup; I can draw the widget properly, I think
my handler would
2009 Nov 28
1
how to put ggobi display into a GUI window setup by gWidgets
Hi,
I want to put a ggobi display into a GUI window setup by gWidgets, but error
occur said it is not a S4 object.
Does anyone have any idea about how to put it in or maybe it can not be put
into a widget at all?
Thanks A LOT!
--
View this message in context: http://n4.nabble.com/how-to-put-ggobi-display-into-a-GUI-window-setup-by-gWidgets-tp930529p930529.html
Sent from the R help mailing list
2009 Dec 22
1
RGtk2 - retrieve ggraphics mouse coordinates during drag-and-drop event
Hi all,
I have a gtable and a ggraphic widget.
I want to drag an element from the table onto the graphic.
When the drag object is released over the ggraphic widget, I want the
mouse coordinates inside the ggraphic to be returned.
Right now I do not know how to get the mouse ccordinates of the
ggraphic widget at any given time.
How can I access the ggraphics mouse coordinates?
Below you find
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
2012 Nov 30
1
How to add widgets of gWidgets to widgets of rgtk2 ???
I have a layout in gwidgets. To this, I wanted to add a Textbox(gtkEntry)
created from rgtk2...
The code is as follows:
MainLayOut <- glayout(homogeneous = FALSE, spacing = 10, container =
SubGroup)
MainLayOut[1, 1, anchor=left] <- "Number of Total Patients: "
font(MainLayOut[1, 1, anchor=left]) <- c(weight="bold")
patients <- gtkEntry()
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, ...){
2013 Feb 14
0
Building a Package & using gWidgets
Hi,
For the past few months I've been building a simulation in R I hope to package. It consists of two usable functions, and many internal ones which one of the two usable functions call while looping, to perform the stages of simulation.
A simple conceptual example is:
# Abstract representation 1st Usable function, generates object containing settings for simulation.
settings <-
2011 Dec 18
1
gWidgets: how to remove that is box drawn when moving the mouse with pressed button
Hi,
how can I omit the box drawn from the starting position to the current position
of the mouse when clicking and it over a GTK graphics object?
I have seen that in the 'playwith' package the box changes to an arrow when
using the 'pan' button. But I do not find the corresponding line in the code to implement that.
library(gWidgets)
2009 Dec 27
1
gWidgets / RGtk2 - how to change a handler from a toolbar?
I want to assign a default handler to a toolbar button and change the
handler later.
The addhandlerclicked() method does not apply to a gAction Object, I
think...
defHandler <- function(h, ...) print("default")
w <- gwindow()
aTest <- gaction(label="Test", icon="open", handler=defHandler)
tblList = list( test = aTest )
toolBar = gtoolbar(tblList,
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)
2005 Oct 14
1
join tables and position (acts_as_list)
I''m working on some schema for a new project that we''ll be doing in
rails (our first rails project!).
A recurring structure we are seeing is the desire to define an
ordering any way we wish, so ''acts_as_list'' comes to the rescue.
But, the ''position'' column seems to need to belong in the join table
to make sense.
For example, we have
2011 May 07
2
Help with Using gtext in gWidgetsWWW for Outputting Results to Webpage
All: Using gWidgetsWWW, I'm in the process of designing a website that will
provide users with a GUI to interact with various datasets. As part of
that, I want to provide users the ability select particular variables (via
combo boxes) that will then result in summary (text) output being returned
to the webpage. Think of it as their choices ultimately result in a one- or
two-way table being
2012 May 29
1
gslider-gwidgets
Hello R lovers,
For my GUI, I am using gslider of Gwidgets. I need to add the "to=" value
dynamically ie., maximum value from a data frame column(something like
to=max(df[,3])). But I am getting error message like
Error in checkPtrType(object, "GtkWidget") :
object of class NULL isn't a GtkWidget
Not sure what I am missing here!!!
Regards,
karthick
--
View this
2009 May 27
0
invisible columns
Dear John,
Actually, I was using gWidgetsRGtk2.
The solution you suggest works fine.
Thank you very much.
Best regards. Olivier
--
____________________________________
Olivier G. NuƱez
Email: onunez en iberstat.es
Tel : +34 663 03 69 09
Web: http://www.iberstat.es
____________________________________
El 27/05/2009, a las 17:28, John Verzani escribiĆ³:
> Dear Olivier,
>
> I
2012 Mar 30
1
Error in use of "gwindow" and ".First" function
Hi,
I saved an image and planed to open it whenever I want to load it.
However, when I open it, It doesn't work.
The code is following, and saved it as an image.
.First<-function(){
require(tcltk)
require(TeachingDemos)
library(gWidgetstcltk)
options(guiToolkit = "tcltk")
win <- gwindow("Don't worry", visible = FALSE)
}
Error message is following,
Error :
2010 Apr 27
1
TikzDevice and texi2dvi
Dear All,
I am starting to use the tikzDevice package, but I am experiencing some
(minor problems).
If I try to run the script at the end of the email, I get the following
error
Error in tools::texi2dvi("normal.tex", pdf = T) :
Running 'texi2dvi' on 'normal.tex' failed.
Messages:
sh: /usr/bin/texi2dvi: not found
How do I install the missing texi2dvi?
I found some
2003 Aug 18
3
Voicemail2 vs. Voicemail
Does anybody have any reason why I should *not* permenantly replace
app_voicemail with app_voicemail2? If so, speak now or forever cvs update
-D "8/18/2003".
Mark