# Method GTK2.SizeGroup()->set_mode()

Method set_mode

  ``GTK2.SizeGroup` set_mode(`int` `mode`)`

Description

  Sets the mode of the size group. One of SIZE_GROUP_BOTH, SIZE_GROUP_HORIZONTAL, SIZE_GROUP_NONE and SIZE_GROUP_VERTICAL. The mode of the size group determines whether the widgets in the size group should all have the same horizontal requisition, all have the same vertical requisition, or should all have the same requisition in both directions.