Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gammasoft71/examples_wxwidgets
Shows how to use wxWidgets controls only by programming code (c++17).
https://github.com/gammasoft71/examples_wxwidgets
checkbox controls cpp cpp17 example examples linux macos messagebox modern-cpp multi-platform progressbar radio-buttons sample samples tabcontrol textbox trackbar windows wxwidgets
Last synced: 3 days ago
JSON representation
Shows how to use wxWidgets controls only by programming code (c++17).
- Host: GitHub
- URL: https://github.com/gammasoft71/examples_wxwidgets
- Owner: gammasoft71
- License: mit
- Created: 2018-08-11T16:21:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-20T19:58:48.000Z (3 months ago)
- Last Synced: 2024-10-20T23:48:20.696Z (3 months ago)
- Topics: checkbox, controls, cpp, cpp17, example, examples, linux, macos, messagebox, modern-cpp, multi-platform, progressbar, radio-buttons, sample, samples, tabcontrol, textbox, trackbar, windows, wxwidgets
- Language: C++
- Homepage: https://gammasoft71.wixsite.com/gammasoft/wxwidgets
- Size: 4.89 MB
- Stars: 162
- Watchers: 9
- Forks: 32
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# wxWidgets examples
Shows how to use [wxWidgets](https://www.wxwidgets.org) controls only by programming code ([c++17](https://en.cppreference.com/w/)).
[![wxwidgets](docs/Pictures/wxwidgets_header.png)](https://www.wxwidgets.org/)
## [wxBase](wxBase/README.md)
[wxBase examples](wxBase/README.md) contains wxBase (Console) examples.
* [HelloWorlds](wxBase/HelloWorlds/README.md)
## [wxCore](wxCore/README.md)
[wxCore examples](wxCore/README.md) contains wxCore (GUI) examples.
* [Hello World](wxCore/HelloWorlds/README.md) contains wxWidgets "Hello, World!" examples.
* [Applications](wxCore/Applications/README.md) contains applications examples.
* [Dialogs](wxCore/Dialogs/README.md) contains dialogs examples.
* [Frames](wxCore/Frames/README.md) contains frames examples.
* [Menus and toolbars](wxCore/MenusAndToolbars/README.md) contains menus and toolbars examples.
* [Containers](wxCore/Containers/README.md) contains containers examples.
* [Book Controls](wxCore/BookControls/README.md) contains book controls examples.
* [Controls](wxCore/Controls/README.md) contains controls examples.
* [Picker Controls](wxCore/PickerControls/README.md) contains picker controls examples.
* [Components](wxCore/Components/README.md) contains components examples.
* [Printing](wxCore/Printing/README.md) contains printing examples.
* [Events](wxCore/Events/README.md) contains events examples.
* [Painting](wxCore/Painting/README.md) contains painting examples.
* [User controls](wxCore/UserControls/README.md) contains user controls examples.
* [User Dialogs](wxCore/UserDialogs/README.md) contains user dialogs examples.
* [Others](wxCore/Others/README.md) contains others examples.## [wxAUI](wxAUI/README.md)
[wxAUI examples](wxAUI/README.md) contains wxAUI (Advanced User Interface docking) examples.
* [Menus and toolbars](wxAUI/MenusAndToolbars/README.md) contains AUI menus and toolbars examples.
* [Containers](wxAUI/Containers/README.md) contains AUI containers examples.
* [Book Controls](wxAUI/BookControls/README.md) contains AUI book controls examples.## [wxRichText](wxRichText/README.md)
[wxRichText examples](wxRichText/README.md) contains wxRichText (Rich Text) examples.
* [Dialogs](wxRichText/Dialogs/README.md) contains rich text dialogs examples.
* [Controls](wxRichText/Controls/README.md) contains rich text controls examples.## [wxWebView](wxWebView/README.md)
[wxWebView examples](wxWebView/README.md) contains wxWebView (web view) examples.
* [Controls](wxWebView/Controls/README.md) contains web view controls examples.
## [wxGL](wxGL/README.md)
[wxGL examples](wxGL/README.md) contains wxGL (Open GL) examples.
* [Controls](wxGL/Controls/README.md) contains Open GL controls examples.
## Download
``` shell
git clone https://github.com/gammasoft71/Examples_wxWidgets
```## Build and run
To build this project, open "Terminal" and type following lines:
### Windows
``` shell
mkdir build && cd build
cmake ..
start wxWidgetsExamples.sln
```Select any project and type Ctrl+F5 to build and run it.
### macOS :
``` shell
mkdir build && cd build
cmake .. -G "Xcode"
open ./wxWidgetsExamples.xcodeproj
```Select any project and type Cmd+R to build and run it.
### Linux with Code::Blocks :
``` shell
mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./wxWidgetsExamples.cbp > /dev/null 2>&1
```Select any project and type F10 to build and run it.
### Linux :
``` shell
mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject
```## Remarks
This project run with [wxWidgets](https://www.wxwidgets.org) 3.2 or above and [CMake](https://cmake.org) 3.20 or above.