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

First we create the very basic xtd::forms program.

Windows

macOS

Gnome

#include <xtd/xtd>
namespace tutorial {
class form_icon : public xtd::forms::form {
public:
form_icon() {
text("Icon");
}
static auto main() {
}
};
}
startup_(tutorial::form_icon::main);
static xtd::drawing::icon gammasoft() noexcept
Gets an xtd::drawing::icon object that contains the Gammasoft logo icon.
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.hpp: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.hpp:175
@ center_screen
The form is centered on the current display, and has the dimensions specified in the form's size.