55 |
} |
} |
56 |
} |
} |
57 |
|
|
58 |
|
__END__ |
59 |
|
|
60 |
|
=head1 NAME |
61 |
|
|
62 |
|
lam.pl - (LAyout Magic) lay out GNUe widgets according to hints |
63 |
|
|
64 |
|
=head1 SYNOPSIS |
65 |
|
|
66 |
|
lam.pl <xml_file> |
67 |
|
|
68 |
|
=head1 DESCRIPTION |
69 |
|
|
70 |
|
This script performs automatic layout of GNUe widgets. The coordinates |
71 |
|
system used by GNUe is useful for creating screens through the GUI, |
72 |
|
but that itself is arguably not the best method. Lam.pl lays the |
73 |
|
widgets out according to their relative positions in a set of boxes, |
74 |
|
stretching them to maximize screen real estate usage. |
75 |
|
|
76 |
|
Lam.pl "understands" GNUe widgets. It overloads the <box/> widget with |
77 |
|
layoyt functionality, and adds a fake widget <lam:box/>, which serves |
78 |
|
only for layout purposes, and is removed from the output so that the |
79 |
|
GNUe forms driver neves sees it. |
80 |
|
|
81 |
|
|