Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The class can be used to get the current active Master Layout and to switch between desktop and taskbar modes.

Examples:

Code Block
titleSetting Master Layout switch to taskbar mode example
akioma.MasterLayout.setMasterState("taskbar-mode"); // can also be "desktop-mode"

...

Code Block
titleMaster Layout get current mode
const MasterState:DesktopMode = akioma.MasterLayout.getMasterState(); // can return "desktop-mode" or "taskbar-mode"


Code Block
titleMaster Layout find window by id
const window: akioma.swat.Window = akioma.MasterLayout.findWindowById(windowId);


Code Block
titleMaster Layout get all windows by name
const windows: Array<akioma.swat.Window> = akioma.MasterLayout.findWindowsByName(windowName);