Re: [R] Need suggestions about GUI

From: ronggui <ronggui.huang_at_gmail.com>
Date: Tue, 22 Jan 2008 00:48:06 +0800

Thanks.

gWidgets is quite good. However, I want to get the selection text chunk as well as the index, but the index arguments does not work for gtext.

> obj<-gtext(cont=T)
> svalue(obj,drop=T)

[1] "cde"
> svalue(obj,drop=T,index=T)

[1] "cde"

2008/1/21, Gabor Grothendieck <ggrothendieck_at_gmail.com>:
>
> You can find examples of using tcltk here:
>
> http://www.sciviews.org/_rgui/tcltk/
>
> Also the gwidgets package is a toolkit independent
> layer that can run on top of tcltk or RGtk and it is described
> with many examples here:
>
> http://wiener.math.csi.cuny.edu/pmg/gWidgets
>
> On Jan 21, 2008 4:02 AM, ronggui <ronggui.huang_at_gmail.com> wrote:
> > What I want to do is:
> > 1, creat a text box, insert text into that box.
> > 2, select chunk of of the text by mouse, and link it to a lable. so I
> would
> > like a way to get that chunk of text.
> >
> > Can I do such job with tcltk? Any relavant tutorial materials?
> >
> > Thanks
> >
> > --
> > HUANG Ronggui
> >
> > Bachelor of Social Work, Fudan University, China
> >
> > Master of sociology, Fudan University, China
> >
> > Ph.D. Student , CityU of HK,
> >
> http://www.cityu.edu.hk/sa/psa_web2006/students/rdegree/huangronggui.html
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help_at_r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
>

-- 
HUANG Ronggui

Bachelor of Social Work, Fudan University, China

Master of sociology, Fudan University, China

Ph.D. Student , CityU of HK,
http://www.cityu.edu.hk/sa/psa_web2006/students/rdegree/huangronggui.html

	[[alternative HTML version deleted]]

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 21 Jan 2008 - 16:50:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 22 Jan 2008 - 02:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive