xtd.forms - Reference Guide  0.1.0
Modern c++17 library containing classes for creating Windows-based applications that take full advantage of the rich user interface features available in the Microsoft Windows, Apple macOS and Linux like Ubuntu operating system.
xtd.forms - Reference Guide Documentation


  • Contains common controls, containers, menu, toolbar, components, various dialogs, ...
  • Easy catch control events by using event and delegates classes.
  • All controls are natives (win32 on windows, cocoa on macOS, gtk+3 on linux).
  • ...

For more information see xtd.foms website (or markdown documentations) and Reference Guide).


The following examples "Hello, world!" show how use form and button control, catch event click and show a message box.


#include <xtd/xtd.forms>
using namespace xtd::forms;
int main() {
button1.text("Click me");
button1.location({10, 10});
button1.click += [] {
message_box::show("Hello, World!");
form form1;
form1.text("Hello world (message_box))");

For more examples see examples.

Download and install

Before running examples you must download and install xtd.forms. To download and install it read Downloads.md file.