-
Notifications
You must be signed in to change notification settings - Fork 2
factory
James Bremner edited this page Oct 29, 2019
·
3 revisions
Constructing windows and widgets.
To make a new top level window
wex::gui& form = wex::windex::topWindow();
The first call constructs the application window, which, when it is closed, will quit the application
To make a child window or widget of class T
T& t = wex::make<T>( gui& parent);
for example, to make a button in a top level window form
wex::button& btn = wex::make<wex::button>( form );