Skip to content

Latest commit

 

History

History
80 lines (66 loc) · 3.79 KB

README.md

File metadata and controls

80 lines (66 loc) · 3.79 KB

Control Examples

This folder contains control examples.

  • ActivityIndicator shows how to create an ActivityIndicator widget with wxActivityIndicator.
  • AnimationCtrl shows how to create a AnimationCtrl widget with wxAnimationCtrl.
  • BannerWindow shows how to create a banner window with wxBannerWindow
  • BitmapButton shows how to create a BitmapButton widget with wxBitmapButton.
  • Button shows how to create a Button widget and Event Click with wxButton.
  • CalendarCtrl shows how to create a CalendarCtrl widget with wxCalendarCtrl.
  • CheckBox shows how to create a CheckBox widget with wxCheckBox.
  • CheckListBox shows how to create a CheckListBox widget with wxCheckListButton.
  • Choice shows how to create a Choice widget with wxChoice.
  • ComboBox shows how to create a ComboBox widget with wxComboBox.
  • CommandLinkButton shows how to create a CommandLinkButton widget with wxCommandLinkButton.
  • Control shows how to create a Control widget with wxControl.
  • DirCtrl shows how to create a Directory Control widget with wxDirCtrl.
  • FileCtrl shows how to create a File Control widget with wxFileCtrl.
  • Gauge shows how to create a Gauge widget with wxGauge.
  • GenericStaticBitmap shows how to create a StaticBitmap widget with wxGenericStaticBitmap.
  • HyperlinkCtrl shows how to create an HyperLink widget with wxHyperlinkCtrl.
  • ListBox shows how to create a ListBox widget with wxListBox.
  • ListCtrl shows how to create a ListCtrl widget with wxListCtrl.
  • RadioButton shows how to create a RadioButton widget with wxRadioButton.
  • ScrollBar shows how to create a ScrollBar widget with wxScrollBar.
  • SearchCtrl shows how to create a SearchCtrl widget with wxSearchCtrl.
  • Slider shows how to create a Slider widget with wxSlider.
  • SpinCtrl shows how to create a SpinCtrl widget with wxSpinCtrl.
  • SpinCtrlDouble shows how to create a SpinCtrlDouble widget with wxSpinCtrlDouble.
  • StaticBitmap shows how to create a StaticBitmap widget with wxStaticBitmap.
  • StaticBitmap2 shows how to create a StaticBitmap widget with wxStaticBitmap.
  • StaticText shows how to create a StaticText widget with wxStaticText.
  • TaskBarIcon shows how to create a TaskBarIcon widget with wxTaskBarIcon.
  • TextCtrl shows how to create a TextCtrl widget with wxTextCtrl.
  • ToggleButton shows how to create a ToggleButton widget and Event Click with wxToggleButton.
  • TreeCtrl shows how to create a TreeView widget with wxTreeCtrl.

Build and run

To build this project, open "Terminal" and type following lines:

Windows

mkdir build && cd build
cmake ..
start Controls.sln

Select any project and type Ctrl+F5 to build and run it.

macOS :

mkdir build && cd build
cmake .. -G "Xcode"
open ./Controls.xcodeproj

Select any project and type Cmd+R to build and run it.

Linux with Code::Blocks :

mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./Controls.cbp > /dev/null 2>&1

Select any project and type F10 to build and run it.

Linux :

mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject