First we create the very basic xtd::forms program.
- Windows
-
- macOS
-
- Gnome
-
#include <xtd/xtd>
namespace tutorial {
public:
form_button() {
active_control(button_quit);
button_quit.parent(*this);
button_quit.text("&Quit");
}
static auto main() {
}
private:
close();
}
};
}