Widget.place

Geometry method for placing this widget inside its parent using absolute positioning.

  1. auto place(int xPos, int yPos, int width, int height, string anchor, string borderMode)
    class Widget
    place
    (
    this T
    )
  2. auto place(double relativeXPos, double relativeYPos, double relativeWidth, double relativeHeight, string anchor, string borderMode)

Parameters

xPos int

The horizontal position of the widget inside its parent.

yPos int

The vertical position of the widget inside its parent.

width int

The width of the widget.

height int

The height of the widget.

anchor string

The anchor position of the widget inside its parent.

borderMode string

How the widget interacts with the parent's border.

Return Value

Type: auto

This widget to aid method chaining.

See Also

Meta