Skip to content

wxIshiko/wxWidgetsTutorials

Repository files navigation

wxWidgets Tutorials

This repository contains the source code for the examples associated with the wxWidget tutorials presented on the http://www.wxishiko.com/wxWidgetsTutorials website.

List of examples

  • Getting Started
    • MinimalApp1: A minimal application that does nothing.
    • MinimalApp2: A minimal application that displays a window that can be closed.
  • Events
    • UpdateUIEvent1: use of the wxUpdateUIEvent to update the state of a menu item.
  • Sizers
    • SimpleFit1: use of a wxBoxSizer and its Fit method to set the size of the main window based on its contents.
    • SimpleFit2: use of a wxBoxSizer and its Fit method to set the size of the main window based on its contents.
    • SimpleFit3: use of a wxBoxSizer and its SetSizeHints method to set the size of the main window based on its contents.
  • Drawing
    • Drawing1: implementation of a simple EVT_PAINT handler that uses wxPaintDC to draw a rectangle and a circle.
    • Drawing2: implementation of a simple EVT_PAINT handler that uses wxGraphicsContext to draw a rectangle and a circle.
  • Drag and Drop
    • DragAndDropText1: use of wxDropSource to make a wxStaticText a drag and drop source.
    • DragAndDropText2: use of wxTextDropTarget to make a wxTextCtrl a drag and drop target.
  • Windows
  • Standard Controls
  • Tree and List Controls
    • WxListView1: basic use of a wxListView control (1 column).
    • WxListView2: basic use of a wxListView control (2 columns).
    • WxTreeCtrl1: basic use of a wxTreeCtrl control.
    • WxTreeCtrl2: shows the events generated by wxTreeCtrl.
    • WxTreeCtrl3: shows how to display a context menu in a wxTreeCtrl.
    • WxTreeCtrl4: shows how to edit the labels of the wxTreeCtrl items.
  • Picker Controls
  • Book Controls
  • Dialogs
    • WxAboutBox1: basic use of the wxAboutBox function (native dialog).
    • WxAboutBox2: basic use of the wxAboutBox function (generic dialog).
    • WxDirDialog1: basic use of a wxDirDialog dialog.
    • WxFileDialog1: basic use of a wxFileDialog dialog.
    • WxFontDialog1: basic use of a wxFontDialog dialog.
    • WxWizard1: basic use of the wxWizard class.
    • WxWizard2: example of the wxWizard class with input validation.
  • wxStyledTextCtrl (source code editing control based on Scintilla)
  • wxAUI

License

Copyright (c) 2015-2017 Xavier Leclercq

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.