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. A toggle button differs from a plain button in … 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. The image … 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

Qt Radio Button Example Tutorial

A simple Qt radio button example in Qt Creator using Qt version 5 programmed in C++. This tutorial shows how to place three radio buttons and change a text label depending on which radio button is selected. The GUI radio button application created in this tutorial is shown below. Create the Qt Radio Button Example … Continue reading Qt Radio Button Example Tutorial

GTK Display Time in Glade Application

GTK display time in window using GTK+3, Glade and GLib functions. This tutorial shows how to write a GTK+ 3 application that displays the current time in a window. The application code is written in the C programming language. Glade is used to lay out the window and widgets. Below is an image that shows … Continue reading GTK Display Time in Glade Application

GTK+ Find Selected Radio Button

Find selected radio button in a group of GTK+ 3 Glade radio buttons using the C programming language. The previous two blog posts showed how to group radio buttons in Glade and how to program radio buttons in C code. This article follows on showing how to read the states of the radio buttons and … Continue reading GTK+ Find Selected Radio Button

GTK+ 3 Glade C Programming Template Files

A set of template files for starting new GTK+ 3 C programming language projects using Glade for the GUI. The structure of the template directory separates the C source code and Glade files into their own sub-directories with a makefile in the main directory. These template files make it easier to manage a project by … Continue reading GTK+ 3 Glade C Programming Template Files