set_parent_window


Description:

public void set_parent_window (Window parent_window)

Sets a non default parent window for this.

For Window classes, setting a parent_window effects whether the window is a toplevel window or can be embedded into other widgets.

For Window classes, this needs to be called before the window is realized.

Parameters:

this

a Widget.

parent_window

the new parent window.