Ashet OS

syscall: ashet.gui.get_widget_data

Documentation

Returns WidgetType-associated "opaque" data for this widget.

This is meant as a convenience tool to store additional information per widget like internal state and such.

The size of this must be known and cannot be queried.

Inputs

widget: Widget

Outputs

data: [*]align(16) u8

Errors

InvalidHandle