Window.setPolicy

Warning gtk_window_set_policy is deprecated and should not be used in newly-written code. Use gtk_window_set_resizable() instead. Changes how a toplevel window deals with its size request and user resize

class Window
void
setPolicy

Parameters

allowShrink int

whether the user can shrink the window below its size request

allowGrow int

whether the user can grow the window larger than its size request

autoShrink int

whether the window automatically snaps back to its size request if it's larger

Meta