Difference between revisions of "Guides & Tutorials"

From WxWiki
Jump to navigation Jump to search
m (Text replacement - "http://www.wxwidgets.org" to "https://www.wxwidgets.org")
(32 intermediate revisions by 17 users not shown)
Line 1: Line 1:
== Getting Started ==
+
The following are guides that can help with understanding various portions of the framework. There is also several [[samples|sample applications]] included with every release.
  
{{main|Getting Started with wxWidgets}}
+
<div style="background-color: #FFFFDD; border: 1px solid #808000; padding: 5px; margin: 1.5em; {{box-shadow}}">'''Looking for installation guides?''' They have been moved to [[Install|their own page here]].</div>
People who are completely new to wxWidgets would normally follow the steps illustrated below. See [[Getting Started with wxWidgets|the main article]] for more details.
 
 
 
[[Image:WxGettingStartedRoadmap.png‎|500px|center]]
 
 
 
== Installing wxWidgets and Setting up Your IDE ==
 
 
 
For an overview of IDEs that have been reported to work with wxWidgets, see the [[List of Integrated Development Environments|list of IDEs]].
 
 
 
Your main guide for compiling wxWidgets should be the installation instructions : Look in &lt;code-base-dir&gt;/docs/.
 
 
 
This section needs a lot of cleanup and reorganization.  If there's anyone that can merge same IDE/Compiler version guides (there's duplicates of a few) if you work on that platform/version, any help would be appreciated.
 
 
 
{| style="margin: 5px 0px 10px 0px;" cellpadding="0" cellspacing="0" border="0"
 
| valign="top" width="50%" style="background: #f6f6f6; border: #bbb 1px solid; padding: 0px 10px 5px 10px;" |
 
=== Windows ===
 
* Pre-built binaries from [http://wxpack.sourceforge.net/ wxPack]
 
* [http://codelite.org/WxWidgets/GettingReadyForWxWidgetsDevelopmentUnderWindows Building wxWidgets with MinGW] and using it in CodeLite
 
* [http://svn.wxwidgets.org/viewvc/wx/wxWidgets/trunk/docs/msw/install.txt?view=markup the official readme] from the wx source tree
 
* [[Compiling wxWidgets with MinGW]]
 
* [[Microsoft Visual C++ Guide|Microsoft Visual C++]]
 
* [[Compiling WxWidgets with MSVC]]
 
* [[Installing_WxWin_Digital_Mars_C|Digital Mars C]]
 
* [[Eclipse%2C_CDT_%26_MingW_%26_MSYS_Setup_Guide|Eclipse CDT]]
 
 
 
* [[Compiling WxWidgets With MSYS-MinGW|MSYS & MinGW]]
 
* [[Installing_WxWin_Watcom|Watcom]]
 
* [[supporting x64 and Win32 within one solution]] - for VS2005
 
* Integrate [[MSDN Library And WxWidgets Help File]]s
 
* [[Compiling using Netbeans]]
 
* [[Cygwin]]
 
 
 
* [[Cross-Compiling Under Linux]]
 
 
 
Outdated/legacy :
 
* [[CodeBlocks_Setup_Guide|Code::Blocks]] (wxWidgets 2.6)
 
* [[Dev-CPP_Setup_Guide|Dev-C++]] (wxWidgets 2.5)
 
* [[Compiling using MS VC++]] (wxWidgets 2.4-2.6, VisualC++ 6)
 
* [http://www.wxwidgets.org/docs/technote/vc_ide.htm Compiling Applications in Visual C++] (wxWidgets 2.3+, VC++ 5/6)
 
* [[Installing WxWin MinGW]] and MSYS (wxWidgets 2.6)
 
* [[Compiling WxWidgets With MSYS-MinGW]] (wxWidgets 2.4)
 
* [[IDE setup - Borland|Borland C++ Builder (also BuilderX and Turbo C++)]]
 
* [[Installing WxWin For MS Free Tools]] (wxWidgets 2.4)
 
| <div style="width: 10px;"></div>
 
| valign="top" width="50%" style="background: #f6f6f6; border: #bbb 1px solid; padding: 0px 10px 5px 10px;" |
 
 
 
=== Mac OS ===
 
Installing wxMac :
 
* [[Compiling wxWidgets using the command-line (Terminal)]]
 
* [[Compiling wxWidgets with Xcode]]
 
Using wxMac :
 
* [[Creating Xcode projects for wxWidgets applications]]
 
* [[Creating CDT projects for wxWidgets applications]]
 
* [[How to build Win32 wxWidgets application under Leopard]]
 
* [[WxMac-specific topics]]
 
 
 
* [[Legacy or Outdated Mac Articles]]
 
 
 
|-
 
| colspan="5" | <div style="height: 10px;"></div>
 
|-
 
| valign="top" width="50%" style="background: #f6f6f6; border: #bbb 1px solid; padding: 0px 10px 5px 10px;" |
 
 
 
=== Linux ===
 
Installing wxWidgets :
 
* [[Compiling and getting started]]
 
* [http://twinforms.com/wxforms-screencasts.htm Screencast showing how to build wxWidgets in Ubuntu Linux]
 
* [[Installing and configuring under Ubuntu]]
 
* [[Installing and configuring under Gentoo]]
 
Using wx from your favorite IDE :
 
* [[Anjuta]]
 
* [[Code::Blocks]]
 
* [[KDevelop]] (and [[Kdevelop Settings]])
 
* [[Netbeans]]
 
A binary package for all distributions :
 
* [[Linking With Gtk And Running On Any Linux]]
 
Cross-compilation :
 
* [[Cross-Compiling Under Linux]]
 
* [[Install The Mingw Cross-Compiler]]
 
| <div style="width: 10px;"></div>
 
| valign="top" width="50%" style="background: #f6f6f6; border: #bbb 1px solid; padding: 0px 10px 5px 10px;" |
 
 
 
=== Other ===
 
[[Emacs]]
 
|}
 
 
 
The following guides involve multiple platforms or compilers, they need to be split up and merged into one of the above guides.
 
 
 
* [[Compiler Issues]]
 
  
 
== wxWidget Design Patterns ==
 
== wxWidget Design Patterns ==
Line 103: Line 15:
  
 
== Miscellaneous Guides ==
 
== Miscellaneous Guides ==
 
 
=== wxWiki Guides ===
 
=== wxWiki Guides ===
 
 
'''DCs (Drawing, rendering, printing)'''
 
'''DCs (Drawing, rendering, printing)'''
 
* [[Drawing on a panel with a DC]]
 
* [[Drawing on a panel with a DC]]
Line 145: Line 55:
 
* [[WxWidgets Source Oddities]] - About wxT(), __GNUG__, WXUNUSED(), etc..
 
* [[WxWidgets Source Oddities]] - About wxT(), __GNUG__, WXUNUSED(), etc..
 
* [[Undocumented Parts Of WxWidgets]]
 
* [[Undocumented Parts Of WxWidgets]]
 +
* [[wxWidgets Source Code Overview]]
 
* [[Updating to the Latest Version of wxWidgets]] - Additional user notes about upgrading wxWidgets between new major and minor versions (ie: 2.6 to 2.8) not found in docs/changes.txt.
 
* [[Updating to the Latest Version of wxWidgets]] - Additional user notes about upgrading wxWidgets between new major and minor versions (ie: 2.6 to 2.8) not found in docs/changes.txt.
  
Line 154: Line 65:
  
 
'''Uncategorized'''
 
'''Uncategorized'''
 +
* [[Making a new reusable widget by combining existing widgets]]
 
* [[Command-Line Arguments]]
 
* [[Command-Line Arguments]]
 
* [[Debugging A WxWindow Application]] - Using __WXDEBUG__, for example.
 
* [[Debugging A WxWindow Application]] - Using __WXDEBUG__, for example.
Line 161: Line 73:
 
* [[ODBC]] - howto work with it under wxWidgets
 
* [[ODBC]] - howto work with it under wxWidgets
 
* [[Wx In Non-Wx Applications]]
 
* [[Wx In Non-Wx Applications]]
* [[Wx Patching]] - How to submit a patch in 3 steps
 
 
* [[WxMac_BadgeLabels]] - wxMac specific: How to display a badge label at the dock icon
 
* [[WxMac_BadgeLabels]] - wxMac specific: How to display a badge label at the dock icon
 +
* [[Adding a custom lexer with syntax highlighting and folding to a WxStyledTextCtrl]] - Adding your own customized "lexer" to a wxStyledTextCtrl to highlight and fold custom formats
  
 
=== External Guides ===
 
=== External Guides ===
 
 
* [http://www.geocities.com/lcassioli/wxbasic/ wxBasic utilities ] - Describes how to build your complete IDE for writing Windows/Linux applications using the freeware [http://fixedsys.com/context ConTEXT text editor] and the [http://wxbasic.sourceforge.net wxBasic] binding. Contains English and Italian tutorials.
 
* [http://www.geocities.com/lcassioli/wxbasic/ wxBasic utilities ] - Describes how to build your complete IDE for writing Windows/Linux applications using the freeware [http://fixedsys.com/context ConTEXT text editor] and the [http://wxbasic.sourceforge.net wxBasic] binding. Contains English and Italian tutorials.
* [http://www.wxwidgets.org/docs/technote/install.htm Obtaining the path of the application] - Not the current working directory, scroll down to 'Tips for finding the application path'.
+
* [https://www.wxwidgets.org/docs/technote/install.htm Obtaining the path of the application] - Not the current working directory, scroll down to 'Tips for finding the application path'.
* [http://www.willnichols.me.uk/progs/wxdocview Doc & View in wxWidgets] - contains a tutorial on document / view architecture.
 
* [http://www.willnichols.me.uk/progs/wxsizer Sizers in wxWidgets] - contains a guide to sizers.
 
 
* [http://programphases.com/?page_id=971 Program Phase 1-16] - implements [http://programphases.com/?page_id=6 Program Phase Task 1] using C++ and wxWidgets on the Linux and Windows platforms.
 
* [http://programphases.com/?page_id=971 Program Phase 1-16] - implements [http://programphases.com/?page_id=6 Program Phase Task 1] using C++ and wxWidgets on the Linux and Windows platforms.
  
 
== Tutorials ==
 
== Tutorials ==
 +
*[http://hosannahighertech.co.tz/forums/showthread.php?tid=60 wxWidgets 101: Building Professional Application with C++(Three Parts: Beginner, Intermediate and Advanced)]
  
 +
* [https://pythonspot.com/wx/ wxPython tutorials]
 
* [http://neume.sourceforge.net/sizerdemo/ Understanding Sizers]
 
* [http://neume.sourceforge.net/sizerdemo/ Understanding Sizers]
 
+
* [http://www.xs4all.nl/~mbertens/wxSizers/wxSizers.pdf Simple HOW-TO how Sizers work]
 +
* [http://zetcode.com/tutorials/wxwidgetstutorial/ Tutorial by zetcode]
 
* [[Writing Your First Application]]
 
* [[Writing Your First Application]]
 
** wxTutorial by Franky Braem
 
** wxTutorial by Franky Braem

Revision as of 14:11, 19 October 2018

The following are guides that can help with understanding various portions of the framework. There is also several sample applications included with every release.

Looking for installation guides? They have been moved to their own page here.

wxWidget Design Patterns

Miscellaneous Guides

wxWiki Guides

DCs (Drawing, rendering, printing)

Text, languages, strings

Libraries

Resources and images

Executables, binaries, installers and distribution

Internet and networking

Documentation

Events, threads, flow

Uncategorized

External Guides

Tutorials