xtd 0.2.0
Loading...
Searching...
No Matches
tutorial_simple_application.cpp

First we create the very basic xtd_forms program.

Windows

macOS

Gnome

#include <xtd/xtd>
namespace tutorial {
class simple : public xtd::forms::form {
public:
simple() {
text("Simple");
}
static auto main() {
}
};
}
startup_(tutorial::simple::main);
static void run()
Begins running a standard application message loop on the current thread, without a form.
Represents a window or dialog box that makes up an application's user interface.
Definition form.h:54
#define startup_(main_method)
Defines the entry point to be called when the application loads. Generally this is set either to the ...
Definition startup.h:175
@ center_screen
The form is centered on the current display, and has the dimensions specified in the form's size.