set_window


Description:

[ Version ( since = "2.18" ) ]
public void set_window (owned Window window)

Sets a widget’s window.

This function should only be used in a widget’s realize implementation. The window passed is usually either new window created with Window, or the window of its parent widget as returned by get_parent_window.

Widgets must indicate whether they will create their own Window by calling set_has_window. This is usually done in the widget’s init function.

Note that this function does not add any reference to window.

Parameters:

this

a Widget

window

a Window




2022 vala-language.org