EVOLUTION-MANAGER
Edit File: bringToTop.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Assign Focus to a Window</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for bringToTop {grDevices}"><tr><td>bringToTop {grDevices}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Assign Focus to a Window</h2> <h3>Description</h3> <p><code>bringToTop</code> brings the specified screen device's window to the front of the window stack (and gives it focus). With first argument <code>-1</code> it brings the console to the top. </p> <p>If <code>stay = TRUE</code>, the window is designated as a topmost window, i.e. it will stay on top of any regular window. <code>stay</code> may only be used when Rgui is run in SDI mode. This corresponds to the “Stay on top” popup menu item in Rgui. </p> <h3>Usage</h3> <pre> bringToTop(which = dev.cur(), stay = FALSE) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>which</code></td> <td> <p>a device number, or <code>-1</code>.</p> </td></tr> <tr valign="top"><td><code>stay</code></td> <td> <p>whether to make the window stay on top.</p> </td></tr> </table> <h3>See Also</h3> <p><code><a href="msgWindow.html">msgWindow</a></code>, <code><a href="windows.html">windows</a></code> </p> <hr /><div style="text-align: center;">[Package <em>grDevices</em> version 3.6.0 <a href="00Index.html">Index</a>]</div> </body></html>