GTK About Dialog Box GtkAboutDialog in Glade

Add an about dialog box to a GTK application using a GtkAboutDialog object in Glade. Example GTK application programmed in C on Linux Mint. Using a GtkAboutDialog in an application is an easy way to display information about a program like its logo, author, copyright and license. The image below shows the dialog box created … Continue reading GTK About Dialog Box GtkAboutDialog in Glade

Position Widgets in Qt Creator

How to position widgets in Qt Creator design mode. Tips and tricks on placing and aligning widgets on a window in a Qt widget based application. Fixed widget position layout and a layout that stretches when the window is resized. The following image shows the difference between two layouts. On the left is the Hello … Continue reading Position Widgets in Qt Creator

Simple Hello World Qt Application

How to create a simple hello world Qt application using Qt creator in Linux. Make a very simple windowed GUI application in Linux using the Qt creator IDE. No need to write any code in this simple tutorial. Part 3 of the Qt Creator C++ Tutorial Go to the Qt Programming Tutorial Series Table of … Continue reading Simple Hello World Qt Application

GtkCheckButton Glade GTK C Tutorial

How to use a GtkCheckButton, which creates a check button or check box, in a Glade GTK C program. Read the state of a GtkCheckButton in C code in this GTK Glade tutorial. The following image shows the application built in this tutorial. It uses three GtkCheckButton widgets and prints their states to the command … Continue reading GtkCheckButton Glade GTK C Tutorial

Qt Programming Tutorial Introduction

A brief overview of Qt in preparation for learning Qt programming in a Qt programming tutorial series. Learn to write cross platform GUI applications using Qt Creator and the C++ programming language. Part 1 of the Qt Creator C++ Tutorial Go to the Qt Programming Tutorial Series Table of Contents What is Qt? Qt is … Continue reading Qt Programming Tutorial Introduction

Change Label Color in GTK Game Tutorial

How to change label color in GTK using the gtk_label_set_markup function. Demonstrates changing text color in a simple heads or tails game programmed with C, GTK and Glade. Part 14 of GTK 3 Programming with C and Glade Tutorial See the full GTK3 tutorial index About this Tutorial This tutorial improves the world’s simplest game … Continue reading Change Label Color in GTK Game Tutorial

GTK Programming Introduction

A brief overview of GTK in preparation for learning GTK programming. Learn to write GUI applications for Linux using GTK 3 with Glade user interface designer and the C programming language. Part 1 of GTK 3 Programming with C and Glade Tutorial See the full GTK3 tutorial index What is GTK? GTK stands for GIMP … Continue reading GTK Programming Introduction

GtkToggleButton Glade GTK C Program Tutorial

This GtkToggleButton Glade GTK C program tutorial shows how to use a toggle button and read its state using C code. The user interface is laid out using the Glade user interface designer. GTK+ 3 and the C programming language is used in the project example. Part 18 of GTK 3 Programming with C and … Continue reading GtkToggleButton Glade GTK C Program Tutorial

GtkComboBoxText Glade GTK C Program

GtkComboBoxText Glade GTK C program shows how to use a GtkComboBoxText widget as a drop-down text selection box. Get the selected text and selected item number from a user in this GTK+  3 text combo box tutorial. The GtkComboBoxText widget contains a list of text items that are selectable as a drop-down list. Part 17 … Continue reading GtkComboBoxText Glade GTK C Program

GtkSpinButton Glade GTK C Program

How to use a GtkSpinButton in a GTK+ 3 application written in C using Glade user interface designer. This tutorial shows how to build a GTK+3 application that allows a user to enter a number in a GtkSpinButton widget. Clicking a button in the application reads the value from the spin button widget and writes … Continue reading GtkSpinButton Glade GTK C Program