Ashet OS

syscall: ashet.gui.place_widget

Documentation

Moves and resizes a widget in one.

Note:

The position of a widget is unrestricted, but its size may be restricted by the selected widget type.

Inputs

widget: Widget
desired: Rectangle

The desired position and size of the widget.

Outputs

actual: Rectangle

The actual position and size of the widget after the operation.

Errors

InvalidHandle