The WDS_Partition widget takes advantage of the partial event usage
to maximize fluidity of the interface.
If a valid left mouse press is left unused by decendent widget,
the WDS_Partition widget will use it as drag of the partitioned area.
Also, since the events are X-Y separable,
two partition widgets (or a partition and another non-conflicting widget)
can be operated on simutaneously.
For example, if a vertical partition widget is a child
of a horizontal partition widget,
some children of the vertical partition widget may be dragged
in both the X and Y directions simutaneously.
Invisible children are completely ignored in nearly all partition functions.
As a result, invisible children get no partition bar and consume no space.
long GetSeparatorWidth(long width[3])
Return the three widths of the bars separating the widgets corresponding with:
immobile, mobile, and max.
void SetReverse(long set)
long GetReverse(void)
Set/Return the ordering of children widgets.
A non-zero value represents a reverse ordering of right-to-left or
bottom-to-top.
void SetFlags(long set)
long GetFlags(void)
Set|Return OR'ed sum of optional flags. Current options are:
| WDS_PARTITION_FLAGS_NONE |
No special flags.
|
| WDS_PARTITION_FLAGS_LIMIT |
The sum of child sizes in the primary direction is limited
to the width of the partition itself.
|
| WDS_PARTITION_FLAGS_ATTACH |
Force child widgets to position/size themselves so that they collectively
fill their parent.
This is relevant when there are fixed size widgets at the end of the list,
because otherwise the last child automatically fills in the remaining space.
However, if all the child widgets are fixed in size,
this functionality is defeated.
This flag automatically activates the WDS_PARTITION_FLAGS_LIMIT option.
|
void SetDirection(long set)
long GetDirection(void)
Set/Return the direction of the partition.
Acceptable values are
WDS_PARTITION_HORIZONTAL or WDS_PARTITION_VERTICAL.