| 12.2 Size |
|
|
The common size options are A part of the geometry management process is to determine a master widget's desired size from the declared or desired sizes of its slaves. This is why you usually control size by using the size options on those slaves which are not also masters. The desired size of a master widget is not necessarily the size the widget gets. As you create your first windows, you should try to resize them with your mouse so you can get used to what happens. User resizing is only one thing that can cause a geometry manager to override a master widget's desired size. Size options are measured in one of two ways:
Some widgets will accept measurements in either characters or screen distances depending on how they are configured. Buttons are this way, you can label them with a character string or with an image. The units you use for a size option will be characters when the label is a character string and screen distances when the label is an image. |
Author's Home Page |
|
Order from Amazon. |