gtkWindowSetTransientFor: gtkWindowSetTransientFor

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R


Dialog windows should be set transient for the main application window they were spawned from. This allows window managers to e.g. keep the dialog on top of the main window, or center the dialog over the main window. gtkDialogNewWithButtons and other convenience functions in GTK+ will sometimes call gtkWindowSetTransientFor on your behalf.


gtkWindowSetTransientFor(object, parent = NULL)



a GtkWindow


parent window, or NULL. [ allow-none ]


Passing NULL for parent unsets the current transient window.

On Windows, this function puts the child window on top of the parent, much as the window manager would have done on X.


Derived by RGtkGen from GTK+ documentation

RGtk2 documentation built on May 20, 2017, 3:33 a.m.

Search within the RGtk2 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.