Pike v8.0 release 1738

Method GTK2.Box()->set_child_packing()


Method set_child_packing

GTK2.Box set_child_packing(GTK2.Widget child_widget, int expandp, int fillp, int padding, int pack_type)

Description

widget, expand, fill, padding, pack_type. If exand is true, the widget will be expanded when the box is resized. If 'fill' is true, the widget will be resized to fill up all available space. Padding is the amount of padding to use, and pack_type is one of PACK_DIRECTION_BTT, PACK_DIRECTION_LTR, PACK_DIRECTION_RTL, PACK_DIRECTION_TTB, PACK_END and PACK_START.

You can emulate pack_start and pack_end with add and set_child_packing.