1.wxWidgets – Introduction

OVERVIEW

wxWidgets along with Qt are the two most popular cross-platform GUI libraries for C++. wxWidgets has been ported to other languages as well like Python, Perl, Ruby etc. So if one is familiar with using wxWidgets in one language, they can leverage the same knowledge in another language.

This series of tutorials assumes that you are already familiar with the basics of C++ programming. Prior exposure to building desktop UI is a great plus point but not a necessity.

SETUP & INSTALLATION

The actual example source code samples will be the same whether you are building on Windows or MacOS or Linux. However the libraries and commands for converting source into executable will vary according to the OS platform being used.

We are using the latest version of wxWidgets which is 3.1.5 at this time. The procedure to setup wxWidgets under Linux (Debian/Ubuntu variants) is given here:

http://truelogic.org/wordpress/2021/10/31/setting-up-wxwidgets-environment-for-c-in-ubuntu-linux/

Building it under Windows 10 is given here:

http://truelogic.org/wordpress/2021/12/06/setting-up-wxwidgets-environment-for-c-in-windows-10/

If you are able to compile and build the sample application provided in either of the two posts, then you are ready to do programming using wxWidgets.

TABLE OF CONTENTS

Given below is the list of topics we will cover:

Be the first to comment

Leave a Reply

Your email address will not be published.


*