Pike v8.0 release 1738

Method GTK1.Window()->set_policy()


Method set_policy

GTK1.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.