aboutsummaryrefslogtreecommitdiff
path: root/inst/GUI/gdf-test.R
diff options
context:
space:
mode:
authorjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2012-03-15 15:54:14 +0000
committerjranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>2012-03-15 15:54:14 +0000
commit1718d434efae26de02754c6622c43f4dc9e624b9 (patch)
treec2dafe942f65e94cd43e1ba17933b667f284d154 /inst/GUI/gdf-test.R
parent2b244ef7d3cbebaaa653d8c8ac87090e34525f7a (diff)
Update kinfit and mkin to the latest version published on BerliOS.
git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/mkin@17 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Diffstat (limited to 'inst/GUI/gdf-test.R')
-rw-r--r--inst/GUI/gdf-test.R12
1 files changed, 12 insertions, 0 deletions
diff --git a/inst/GUI/gdf-test.R b/inst/GUI/gdf-test.R
new file mode 100644
index 0000000..b1ec20a
--- /dev/null
+++ b/inst/GUI/gdf-test.R
@@ -0,0 +1,12 @@
+w <- gwindow("gdf test")
+g <- ggroup(horizontal=FALSE, cont=w)
+d <- gdf(data.frame(a=c(1.1, 2.2, 3.3), b= c("one", "two", "three"), stringsAsFactors=FALSE),
+ name = "Test for editing character columns", cont=g)
+size(d) <- c(400,400)
+gbutton("Change [1,2]", handler=function(h,...) {
+ d[1,2] <- "test"
+}, container=g)
+gbutton("Value of [1,2]", handler=function(h,...) {
+ galert(d[1,2], parent=d)
+}, cont=g)
+visible(w) <- TRUE

Contact - Imprint