GtkWindow::set_policy

void set_policy(bool allow_shrink, bool allow_grow, bool auto_shrink);

WARNING! This method has been deprecated in PHP-GTK 2 and should NOT be used in newly written code.

Sets how the window handles size requests and user resize attempts.

See also: set_resizable()