...
The class can be used to get the current active Master Layout and to switch between desktop and taskbar modes.
Examples:
Code Block |
---|
title | Setting Master Layout switch to taskbar mode example |
---|
|
akioma.MasterLayout.setMasterState("taskbar-mode"); // can also be "desktop-mode" |
...
Code Block |
---|
title | Master Layout get current mode |
---|
|
const MasterState:DesktopMode = akioma.MasterLayout.getMasterState(); // can return "desktop-mode" or "taskbar-mode"
|
Code Block |
---|
title | Master Layout find window by id |
---|
|
const window: akioma.swat.Window = akioma.MasterLayout.findWindowById(windowId); |
Code Block |
---|
title | Master Layout get all windows by name |
---|
|
const windows: Array<akioma.swat.Window> = akioma.MasterLayout.findWindowsByName(windowName); |