Data Fields | |
int | width |
Width in characters. | |
int | height |
Height in characters. | |
int | penalty |
Penalty for these dimensions. | |
_widget_size_hint ** | children_layout |
Child layout cache. |
The width and height correspond to a penalty, or ugliness. When allocating space to widgets, the layout algorithm attempts to keep the total penalty at a minimum. Or, if it doesn't fit, even with the maximum penalty, the layout is split into smaller parts and the procedure starts all over again. In this case, one layout takes up several screen cycles on the display.
Definition at line 126 of file charlayout.c.
|
Child layout cache. The children_layout field is used to cache the optimum layout of the children for a particular dimension. Definition at line 135 of file charlayout.c. |