How to get pointers to widgets in a GTK Glade C program without using global variables. Use a local structure to pass widget pointers to a callback function. Pass user data and widget pointers to callback. GTK Glade Pointers to Widgets Example Program and Tutorial This Glade GTK+ 3 C programming tutorial shows how to … Continue reading GTK Glade Get Pointers to Widgets
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
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
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
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
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
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 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
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
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.
W: Failed to fetch http://packages.linuxmint.com/dists/rosa/main/binary-i386/Packages Hash Sum mismatch
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages Hash Sum mismatch
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
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