Poison-ui

A cross-platform desktop/mobile UI engine written in D using dsfml

View project on GitHub

Dub version

poison.core.application

Source

Module for core application handling.

Authors:

  Jacob Jensen

License:

  https://github.com/PoisonEngine/poison-ui/blob/master/LICENSE

public:



public class Application


        public:



A wrapper around the core application.


public this(string name);


Creates a new application.

Parameters:

nameThe 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:

windowThe window to add.

public void remove(Window window);


Removes a window from the application.

Parameters:

windowThe window to remove.

public void remove(string name);


Removes a window from the application.

Parameters:

nameThe name of the window to remove.

public static void initialize(Application application);


Initializes a application and then processes it.

Parameters:

applicationThe application to initialize and process.

public static @property Application app();


Gets the app.


Generated by venom - Poison Engine's Documentation Generator