Description Usage Arguments Details Author(s)
When using GTK+, typically you should use gtkWindowSetRole
instead
of this low-level function.
1 | gdkWindowSetRole(object, role)
|
|
a toplevel |
|
a string indicating its role |
The window manager and session manager use a window's role to distinguish it from other kinds of window in the same application. When an application is restarted after being saved in a previous session, all windows with the same title and role are treated as interchangeable. So if you have two windows with the same title that should be distinguished for session management purposes, you should set the role on those windows. It doesn't matter what string you use for the role, as long as you have a different role for each non-interchangeable kind of window.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.