Search code examples
ruser-interfacegwidgets

Is there a way to specify position of R gwidget window on screen?


I was wondering if there is a way to say where something like this:

require(gWidgets)
options("guiToolkit"="RGtk2")
win <- gwindow()

appears - more precisely is there a way to say that the window should appear on screen at x-pixel 0 and y-pixel zero?


Solution

  • Try passing a position to the parent argument of gwindow, as in gwindow("title", parent=c(200, 200)).