4. wxWidgets – Menus & Toolbars
OVERVIEW In this section, we deal with menubars with submenus as well as toolbars. These are standard GUI artifacts and provide global navigational capabilities. The […]
OVERVIEW In this section, we deal with menubars with submenus as well as toolbars. These are standard GUI artifacts and provide global navigational capabilities. The […]
OVERVIEW We take a first look at handling events in wxWidgets. The simplest event is a button click. There are 3 ways of handling events: […]
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 […]
Copyright © 2024 | WordPress Theme by MH Themes