get_widget


Description:

public virtual async Object? get_widget ()

Gets the UI widget for this agent, if any.

Agents with UI should override this method to return their widget. Default implementation returns null (agents without UI).

Returns:

The UI widget cast as Object, or null if agent has no UI