search for: gtkwindowresize

Displaying 2 results from an estimated 2 matches for "gtkwindowresize".

2007 Jul 18
3
How to open an URL using RGtk2
...o do something with the opening of the given URL. Further, I didn't find any other information regarding this. Following is my code: messlab <- gtkLabelNew(str = "Please wait!", show = TRUE) messwin <- gtkWindowNew(type = NULL, show = TRUE) messwin$Add(messlab) gtkWindowResize(messwin, 250, 60) gtkWindowSetTitle(messwin, "Graph Analysis") .... .... .... fihor <- gtkHPanedNew(show = TRUE) fn <- gtkLinkButtonNewWithLabel("http://cran.r-project.org/", "Result Link!") messwin$Remove(messlab) gtkLabelSetText(messlab, &...
2007 Nov 17
0
Drawing to a buffer (or double buffering)
...e completely replaced immediately. The only way I know of doing this is to output to png devices and then sift through the pictures. That is very unappealing. Manfred P.S. The closest I've come was: library("RGtk2") library("cairoDevice") win <- gtkWindow(show=FALSE) gtkWindowResize(win,800,600) da <- gtkDrawingArea() win$add(da) win$visible <- TRUE asCairoDevice(da) win$visible <- FALSE plot.new() par(mfrow=c(2,2)) plot(1:10) # more plot commands win$visible <- TRUE