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
gtkDialogNewWithButtons and other convenience
functions in GTK+ will sometimes call
gtkWindowSetTransientFor on your behalf.
parent window, or
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.