Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkWindowSetRole

gtkWindowSetRole


Description

This function is only useful on X11, not with other GTK+ targets.

Usage

gtkWindowSetRole(object, role)

Arguments

object

a GtkWindow

role

unique identifier for the window to be used when restoring a session

Details

In combination with the window title, the window role allows a window manager to identify "the same" window when an application is restarted. So for example you might set the "toolbox" role on your app's toolbox window, so that when the user restarts their session, the window manager can put the toolbox back in the same place.

If a window already has a unique title, you don't need to set the role, since the WM can use the title to identify the window when restoring the session.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.