pike.hubbe.net

[Top]
GTK
GTK.Window
previousGTK.Window()->set_modal() GTK.Window()->set_position()next

Method GTK.Window()->set_policy()


Method set_policy

object(GTK.Window) 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.


Extracted from Pike v7.3 release 11 at 2001-11-03.