Core Commands

CmdUiFocusSet

Defines explicit UI focus for a window.

Arguments

Field Type Description
windowId u32 Focus window
realmId u32 Target UI realm
documentId u32 Target document
nodeId Option Target node (default 0)

Response

Returns CmdResultUiFocusSet:

Field Type Description
success bool Focus updated
message String Status or error

Validation

  • realmId must exist.
  • documentId must exist and belong to realmId.
  • nodeId (when provided and different from 0) must exist in the document.
Documentation Vulfram Core