Get Widget Pointer in Callback Function GTK Glade

How to get widget pointer in callback function of Glade GTK C program. Pass a pointer to a single widget to a callback function via the gpointer user_data parameter of the callback function. How to Get Widget Pointer in Callback Function In a previous post global variables were used to get pointers to text label … Continue reading Get Widget Pointer in Callback Function GTK Glade

Qt 5 Hello World Tutorial using Qt Creator

A simple Qt 5 Hello World tutorial that demonstrates how to use Qt Creator to make a GUI application window. Create a window with two text labels and a button in this easy tutorial for beginners. Program the application in C++. The image below shows the finished Qt GUI window application. When the button is … Continue reading Qt 5 Hello World Tutorial using Qt Creator

How to Install Qt 5 Development Tools in Linux

When starting Qt 5 application development in Linux it is necessary to first install Qt 5 development tools. Qt Creator is the IDE used to develop Qt applications. In order for Qt Creator to be able to build Qt applications, library files, header files and a C++ compiler must be installed. This article shows how … Continue reading How to Install Qt 5 Development Tools in Linux

Compiling GLib C Programs

GLib is a utility library required by GTK+, but which can also be used independently in non-GUI applications. This article shows how to compile C programs that use GLib in Linux. It also shows how to install the correct documentation for the version of GLib installed on the system and how to find the version … Continue reading Compiling GLib C Programs

Configure PHP for Local Web Development

When developing PHP on a local computer it is usual to configure PHP to display error and warning messages. Enabling errors and warnings in PHP helps during software development to find bugs and detect potential problems. This article explains how to enable PHP error and warning messages for local web development on a LAMP stack. … Continue reading Configure PHP for Local Web Development

Configure Apache for Local Web Development

How to configure Apache 2 web server on a local Linux computer for local web development. Configure Apache to host multiple local web sites for web development on Linux Mint or Ubuntu. The previous blog post describes how to set up a LAMP stack on a local Linux computer. This post shows how to set … Continue reading Configure Apache for Local Web Development

How to Install a Local LAMP Stack on Linux

How to install a local LAMP stack on a Linux Mint or Ubuntu computer for local PHP and MySQL development or for development on a local WordPress website. Why Install a LAMP Stack? When developing PHP web pages and applications on a local Linux computer it is necessary to install a local web server and … Continue reading How to Install a Local LAMP Stack on Linux

Glade Packing Tutorial

Learn how to use the Glade box container to pack widgets into a window in this Glade packing tutorial. Use widget packing instead of a fixed grid. Glade Fixed Grid Window vs. Glade Packing Window The images below show a comparison between two windows. One of the windows was created using a fixed grid, and … Continue reading Glade Packing Tutorial

Linux Mint Hash Sum Mismatch During Update

How to fix Linux Mint hash sum mismatch during update of software. The following messages appear after doing an update with sudo apt-get update and also appear in the Linux Mint Update Manager.

Fixing the Linux Mint Hash Sum Mismatch Error After trying several solutions to the problem (listed in the next section) here … Continue reading Linux Mint Hash Sum Mismatch During Update

How to Install the GCC C++ Compiler on Linux Mint

If you try to compile C++ code on a Linux Mint or Ubuntu computer using gcc, the compile will fail. C++ code needs to be compiled using the g++ compiler which must first be installed. This article explains how to install the GCC C++ compiler on Linux Mint and Ubuntu based systems. Trying to compile … Continue reading How to Install the GCC C++ Compiler on Linux Mint