pike.hubbe.net

[Top]
GTK
GTK.Widget
previousGTK.Widget()->set_uposition() GTK.Widget()->shape_combine_mask()next

Method GTK.Widget()->set_usize()


Method set_usize

object(GTK.Widget) GTK.Widget()->set_usize(int xsize, int ysize)

Description

Set the absolute size of the widget. It might resize itself anyway, but this size is used as is in most widgets. Beware of this function, it might produce unexpected results. 0 for any size means 'keep old size'. When setting sizes of wtoplevel windows, it is preferable to use set_default_size


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