CmdUiDocumentCreate
Creates a UI document with a realm reference.
Arguments
| Field | Type | Description |
|---|---|---|
| documentId | u32 | Logical UI document ID |
| realmId | u32 | Realm ID reference (late-bound) |
| rect | Vec4 | Document rect (x, y, w, h) |
| themeId | Option |
Optional theme ID |
Response
Returns CmdResultUiDocumentCreate:
| Field | Type | Description |
|---|---|---|
| success | bool | Whether the document was created |
| message | String | Status or error message |
| documentId | Option |
ID of the created document |
Notes
realmIdis late-bound. Document creation is accepted even if the realm is not available yet.
Documentation Vulfram Core