xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
check_boxes.cpp

The following code example demonstrate the use of check_boxes control factory.

Windows

macOS

Gnome

#include <xtd/xtd>
using namespace xtd::forms;
int main() {
auto main_form = control::create<form>("Check boxes example");
auto font_group_box = control::create<group_box>(*main_form, system_texts::font(), {10, 10}, {150, 180});
auto bold_check_box = check_boxes::bold(*font_group_box, {20, 20});
auto italic_check_box = check_boxes::italic(*font_group_box, {20, 50});
auto underline_check_box = check_boxes::underline(*font_group_box, {20, 80});
auto strikeout_check_box = check_boxes::strikeout(*font_group_box, {20, 110});
application::run(*main_form);
}
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition about_box.h:13