Move
Move(windowID, childID), Move(windowID), Move(, childID), Move
parameters: Identifier of a Windows and a child Windows object
Stack | Position | Description |
---|---|---|
Stack(In) | Top | position y |
Top 1 | Position x | |
Stack(Out) | Top | - |
The window object is moved to the new position (x, y). The coordinates are always specified in minicells - exactly as in the definition of the window objects. Exceptions are toplevel windows, because Minicells make little sense outside a window and pixels are more suitable for positioning windows.
If you want to define the position relative to another object, use the coordinates obtained with GetPosition (see example). Widgets, whose position is fixed in a dimension by Attach , cannot be moved in this dimension by Move.
After a widget has been moved by Move, the attachments of the parent widget are reevaluated and the window is redrawn. If the layout is no longer correct after the move, the order or type of attachments may have to be adjusted (see: Evaluation of attachments).