poison.core.application
Source
Module for core application handling.
Authors:
Jacob Jensen
License:
https://github.com/PoisonEngine/poison-ui/blob/master/LICENSE
Imports
std.concurrency : thisTid
core.thread : Thread, dur
poison.ui : Window
poison.core.threading : _uiTid, receiveMessages
public:
public class Application
public:
A wrapper around the core application.
public this(string name);
Creates a new application.
Parameters:
name The name of the application.
public @property string name();
Gets the name of the application.
public void updateStyles();
Updates all styles for each window.
public void add(Window window);
Adds a window to the application.
Parameters:
window The window to add.
public void remove(Window window);
Removes a window from the application.
Parameters:
window The window to remove.
public void remove(string name);
Removes a window from the application.
Parameters:
name The name of the window to remove.
public static void initialize(Application application);
Initializes a application and then processes it.
Parameters:
application The application to initialize and process.
Generated by venom - Poison Engine's Documentation Generator
Module for core application handling.
Authors:
Jacob JensenLicense:
https://github.com/PoisonEngine/poison-ui/blob/master/LICENSEImports
std.concurrency : thisTidcore.thread : Thread, dur
poison.ui : Window
poison.core.threading : _uiTid, receiveMessages
public class Application
public:
A wrapper around the core application.
public this(string name);
Creates a new application.
Parameters:
name | The name of the application. |
public @property string name();
Gets the name of the application.
public void updateStyles();
Updates all styles for each window.
public void add(Window window);
Adds a window to the application.
Parameters:
window | The window to add. |
public void remove(Window window);
Removes a window from the application.
Parameters:
window | The window to remove. |
public void remove(string name);
Removes a window from the application.
Parameters:
name | The name of the window to remove. |
public static void initialize(Application application);
Initializes a application and then processes it.
Parameters:
application | The application to initialize and process. |