next up previous contents index
Next: 4. The realize() Method Up: 3. Geometry Management and Previous: 2. The set_values() Method   Contents   Index

3. The resize() Method

resizemethodYou can't do any geometry negotiation here. You must take the size you currently have, and lay yourself out to this geometry. This method, in combination with set_values(), show the requirements of the two basic algorithms: one to compute the preferred size, and one to layout to a given size.



Danny Backx
2000-12-13