Skip to content

Latest commit

 

History

History
240 lines (194 loc) · 17.6 KB

README.md

File metadata and controls

240 lines (194 loc) · 17.6 KB

wxCore examples

This folder contains the basic GUI classes such as GDI classes and controls examples.

wxwidgets

  • Application shows how to create a simple wxWidgets application with wxApp.
  • ApplicationAndAssert shows how to create a simple wxWidgets application and how to manage assert.
  • ApplicationAndException shows how to create a simple wxWidgets application and how to manage exception.
  • ApplicationAndMain shows how to create a wxWidgets application and main method with wxApp.
  • ApplicationAndMain2 shows how to create a wxWidgets application and main method with wxApp.
  • ApplicationIcon shows how to create a wxWidgets application and icon with wxApp.
  • AboutBox shows how to create a AboutBox with wxAboutBox.
  • BusyInfo shows how to create a BusyInfo with wxBusyInfo.
  • ColourDialog shows how to create a ColourDialog with wxColourDialog.
  • DirDialog shows how to create a DirDialog with wxDirDialog.
  • FindReplaceDialog shows how to create a FindReplaceDialog with wxFindReplaceDialog.
  • FontDialog shows how to create a FontDialog with wxFontDialog.
  • GenericAboutBox shows how to create a GenericAboutBox with wxGenericAboutBox.
  • GenericFindReplaceDialog shows how to create a GenericFindReplaceDialog with wxGeenericFindReplaceDialog.
  • GenericProgressDialog shows how to create a GenericProgressDialog with wxGenericProgressDialog.
  • MessageDialog shows how to create a MessageDialog with wxMessageDialog.
  • MultiChoiceDialog shows how to create a MultiChoiceDialog with wxMultiChoiceDialog.
  • NotificationMessage shows how to create a NotificationMessage with wxNotificationMessage.
  • NumberEntryDialog shows how to create a NumberEntryDialog with wxNumberEntryDialog.
  • OpenFileDialog shows how to create a OpenFileDialog with wxOpenFileDialog.
  • PasswordEntryDialog shows how to create a PasswordEntryDialog with wxPasswordEntryDialog.
  • ProgressDialog shows how to create a ProgressDialog with wxProgressDialog.
  • RearrangeDialog shows how to create a RearrangeDialog with wxRearrangeDialog.
  • SaveFileDialog shows how to create a SaveFileDialog with wxSaveFileDialog.
  • SingleChoiceDialog shows how to create a DirDialog with wxSingleChoiceDialog.
  • TextEntryDialog shows how to create a TextEntryDialog with wxTextEntryDialog.
  • Wizard shows how to create a Wizard with wxWizard.
  • Frame shows how to create a simple Frame container with wxFrame.
  • MdiFrame shows how to create a MDI (Multiple Document Interface) frame.
  • MainMenu shows how to create a MainMenu widget with wxMenu.
  • Menu shows how to create a (contextual) Menu widget with wxMenu.
  • StatusBar shows how to create a StatusBar widget with wxStatusBar.
  • StatusBarWithoutPanels shows how to create a StatusBar widget with wxStatusBar.
  • ToolBar shows how to create a ToolBar widget with wxToolBar.
  • CollapsiblePane shows how to create a CollapsiblePane container with wxCollapsiblePane.
  • Panel shows how to create a simple Panel container with wxPanel.
  • RadioBox shows how to create a simple RadioBox container with wxRadioBox.
  • SplitterWindow shows how to create a simple SplitterWindow container with wxSplitterWindow and wxPanel.
  • StaticBox shows how to create a simple StaticBox container with wxStaticBox.
  • StaticBoxSizerVertical shows how to create a StaticBoxSizerVertical widget with wxStaticBoxSizer.
  • Choicebook shows how to create a Choicebook widget with wxChoiceBook.
  • Listbook shows how to create a Listbook widget with wxListBook.
  • Notebook shows how to create a Notebook widget with wxNoteBook.
  • Simplebook shows how to create a Simplebook widget with wxSimplebook.
  • Toolbook shows how to create a Toolbook widget with wxToolbook.
  • Treebook shows how to create a Treebook widget with wxTreebook.
  • 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.
  • WebView shows how to create a WebViewwidget with wxWebView.
  • ColourPickerCtrl shows how to create a ColourPickerCtrl widget with wxColourPickerCtrl.
  • DatePickerCtrl shows how to create a DatePicker widget with wxDatePickerCtrl.
  • DirPickerCtrl shows how to create a DirPickerCtrl widget with wxDirPickerCtrl.
  • FilePickerCtrl shows how to create a FilePickerCtrl widget with wxFilePickerCtrl.
  • FontPickerCtrl shows how to create a FontPickerCtrl widget with wxFontPickerCtrl.
  • TimePickerCtrl shows how to create a TimePicker widget with wxTimePickerCtrl.
  • ArtProvider shows how to create a simple ArtProvider component with wxArtProvider.
  • BusyCursor shows how to show or hide wxBusyCursor.
  • Config shows how to create a simple Config component with wxConfig.
  • Config2 shows how to create a simple Config component with wxConfig.
  • Cursor shows how to create a simple Cursor component with wxCursor.
  • ImageList shows how to create a simple ImageList component with wxImageList.
  • RichToolTip shows how to create a RichToolTip widget with wxRichToolTip.
  • Timer shows how to create a simple Timer component with wxTimer.
  • ToolTip shows how to create a ToolTip component.
  • PrintAbortDialog shows how to create a PrintAbortDialog with wxPrintAbortDialog.
  • ApplicationIdle shows how to create an application and catch idle event.
  • CustomEvent shows how to create a CustomEvent event with wxCommandEvent.
  • EvtHandlerFilterEvent shows how to use EvtHandler::FilterEvent method.
  • FrameAndEvents shows how to create a Frame and catch some events.
  • FrameClick shows how to create a Frame and catch click event.
  • FramePaint shows how to create a Frame and catch paint event.
  • KeyEvents shows how to create a Frame and catch key events.
  • MouseEvents shows how to create a Frame and catch mouse events.
  • ProcessEvent shows how to override ProcessEvent method.
  • DomainSpinCtrl shows how to create a DomainSpinCtrl widget with own wxDomainSpinCtrl (wxPanel with wxTextCtrl and wxSpinButton).
  • Line shows how to create a custom control Line from wxPanel.
  • NumericTextCtrl shows how to create a custom control NumericTextCtrl from wxTextCtrl.
  • UserDialog shows how to create a UserDialog with wxDialog.

Build and run

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

Windows

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

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

macOS :

mkdir build && cd build
cmake .. -G "Xcode"
open ./wxCore.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 ./wxCore.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