1
/***********************************************************************
3
***********************************************************************/
4
class WindowManager : public EventSet
6
static WindowManager& getSingleton();
8
tolua_throws|CEGUI::AlreadyExistsException,nil|CEGUI::InvalidRequestException,nil| Window* createWindow(utf8string type, utf8string name="");
9
tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| Window* loadWindowLayout(utf8string filename, utf8string name_prefix="", utf8string resourcegroup="");
11
void writeWindowLayoutToStream(utf8string window, OutStream& out, bool writeParent=false) const;
12
void writeWindowLayoutToStream(const Window& window, OutStream& out, bool writeParent=false) const;
14
void saveWindowLayout(utf8string window, utf8string filename, bool writeParent = false) const;
15
void saveWindowLayout(const Window& window, utf8string filename, bool writeParent = false) const;
17
void destroyWindow(utf8string name);
18
void destroyWindow(Window* window);
19
void destroyAllWindows();
21
tolua_throws|CEGUI::UnknownObjectException,nil| Window* getWindow(utf8string name) const;
22
bool isWindowPresent(utf8string name) const;
24
bool isDeadPoolEmpty() const;
27
void renameWindow(Window* window, utf8string new_name);
28
void renameWindow(utf8string window, utf8string new_name);
30
WindowIterator getIterator() const;
32
static void setDefaultResourceGroup(utf8string resourceGroup);
33
static string& getDefaultResourceGroup();
37
bool isLocked() const;
39
tolua_outside EventIterator ceguiLua_getEventIterator @ getEventIterator() const;