You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mdavisprog edited this page Apr 5, 2023
·
2 revisions
WindowContainer
This container contains the controls and logic for handling a title bar, menu bar, and a body. The title bar will only be present if a custom title bar is requested for the owning widnow. Each window will hold an instance of this container and is the container in which interactions will occur.
Functions
Name
Description
SetFocused
This function will update the title bar's color based on the theme.
FocusedTrue if the owning Window has focus. False otherwise. The reference to this WindowContainer.
OnLoad
A Window may have its controls defined within a JSON stream. The Window will parse the stream into a hierarchy of JSON objects and is passed to each control to give them an opportunity to load any properties that define the control. The stream can come from a list of places such as a disk, memory, or network stream.
RootThe Json object containing the properties to load for this control.