![]() ![]() That means that windows created with the Window Manager can be dragged off their current container, for example the map, and dropped on a different drag & drop container. How to enable Drag & Dropĭrag & drop functionality can be enabled for windows. The actual window widget can be retrieved by calling w.get("window"), where w is the WindowReference object.Ī full description of the available properties can be found in the JavaScript documentation of the method. The window’s child widget is defined using the content attribute.Ĭustom tools ( ct.tools.Tool) can be added to the title bar of the window using the tools attribute.Īs stated earlier, the createWindow method returns a WindowReference. Thus, the window can be restored by calling its show method. ![]() ![]() The minimizeOnClose option is true, meaning that the window and its child widgets are not destroyed when the window is closed. It is assigned a width of 300 pixels and a height of 200 pixels and it is placed with a margin of 30 pixels to the left and to the top. The preceding sample creates a window with the title “My Window Title”. To use the Window Manager inside a custom bundle, add the WindowManagerFactory component to the references section of the respective component: , Use Cases How to create a window with the Window Manager It allows to create UI windows programmatically. The Window Manager does not have a user interface itself, because it is a factory for UI components. To create windows in a declarative fashion see the templates bundle documentation. ![]() It provides methods to programmatically create modal and normal windows and to specify various options for customization. The Window Manager bundle is a factory for UI windows. Windowmanager/README.md (latest) windowmanager ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |