
3d. wxWidgets – Panels
OVERVIEW Panels are the basic containers which are used while creating UI layouts. They are created within the main wxFrame and help create top-level grouping […]
OVERVIEW Panels are the basic containers which are used while creating UI layouts. They are created within the main wxFrame and help create top-level grouping […]
OVERVIEW Buttons and labels are the most common controls used in GUI. Here we create a sample button and label and display them in a […]
OVERVIEW Adding an application icon is fairly simple. However the behaviour may differ based on the underlying OS. The standard behaviour of an application icon […]
OVERVIEW We create two windows in the sample program below. SAMPLE CODE window1.h window1.cpp window2.h window2.cpp main.h main.cpp The output is shown below:
OVERVIEW Now we can actually start using wxWidgets for building GUI screens. The example code in this section will show how to create windows and […]
All standard file and directory operations are supported in wxWidgets. Below are two sample programs – the first writes and reads a text file while […]
OVERVIEW wxWidgets provides powerful date and time management functions like formatting time strings, handling time zones and doing time calculations. SAMPLE CODE datetime.cpp The output […]
OVERVIEW These are predefined functions which retrieve various information about the current system. SAMPLE CODE platform.cpp The output is given below: /home/amit ubuntu-amit amit Linux […]
OVERVIEW wxWidgets provides various functions to interact with the OS and call other applications. wxShell() is used to run OS level commands. wxExecute() can also […]
OVERVIEW Strings are used in every application so the wxString class is something which will be used very often. Given below is code which shows […]
Copyright © 2025 | WordPress Theme by MH Themes