rgl.bringtotop: Assign focus to an RGL window

Description Usage Arguments Details Note Author(s) Examples

View source: R/rgl.bringtotop.R

Description

'rgl.bringtotop' brings the current RGL window to the front of the window stack (and gives it focus).

Usage

1

Arguments

stay

whether to make the window stay on top.

Details

If stay is TRUE, then the window will stay on top of normal windows.

Note

not completely implemented for X11 graphics (stay not implemented; window managers such as KDE may block this action (set "Focus stealing prevention level" to None in Control Center/Window Behavior/Advanced)). Not currently implemented under OS/X.

Author(s)

Ming Chen/Duncan Murdoch

Examples

1
2
3
rgl.open()
rgl.points(rnorm(1000), rnorm(1000), rnorm(1000), color = heat.colors(1000))
rgl.bringtotop(stay = TRUE)    

Example output

Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'. 
Warning message:
In rgl.bringtotop(stay = TRUE) : 'stay' not implemented

rgl documentation built on Feb. 1, 2021, 3:01 a.m.