Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK
GTK.Window

Method GTK.Window()->set_policy()


Method set_policy

GTK.Window set_policy(int allow_shrink, int allow_grow, int auto_shrink)

Description

If allow shrink is true, the user can resize the window to a smaller size. If allow_grow is true, the window can resize itself, and the user can resize the window, to a bigger size. It auto shrink is true, the window will resize itself to a smaller size when it's subwidget is resized.