GTK Glade C Programming Tutorial

GTK Glade C Programming Tutorial Series – GTK 3 programming with C and Glade tutorial series index. A tutorial series using GTK+ (GIMP Toolkit) with Glade as the GUI designer and the C programming language.

GTK 3 Programming with C and Glade Tutorial Series Index

Follow the tutorial series by completing each tutorial part in the index that follows. Best followed in order starting with part 1.

Part 1: GTK Programming Introduction

A brief overview of GTK in preparation for learning GTK programming.

Part 2: Installing GTK 3 and Glade Development Tools in Linux

How to install the Glade user interface designer and GTK 3 development library and other tools for GTK development on Linux.

Part 3: GTK+ 3 C Program using Glade 3

A simple “hello world” GTK C application. Demonstrates how to create a simple windowed GUI application using GTK3, Glade user interface designer and C code.

Part 4: 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.

Part 5: GTK 3 C Code Hello World Tutorial using Glade 3

A hello world program that shows how to use labels and a button.

Part 6: GTK Packing with Glade

Pack widgets in a GTK window using the Glade UI editor. Use the GtkBox container.

Part 7: Compiling GLib C Programs

GTK relies on the GLib library. This article explains the basics of GLib and includes a simple coin toss program that uses GLib.

Part 8: GTK+ 3 Reference Manual in Devhelp Viewer

View the GTK 3 manual offline in the Devhelp viewer. It also adds context sensitive help to Glade. Also see GTK+ 3 Help Finding GTK3 Documentation for more information on finding GTK 3 documentation.

Part 9: Get Widget Pointer in Callback Function GTK Glade

Get a pointer to a widget in a callback function using Glade. Explains one method of passing user data to a callback function from within Glade.

Part 10: GTK Glade Get Pointers to Widgets

Get pointers to two or more widgets in a GTK Glade C program without using global variables.

To be continued…
(Stand by for regular updates with videos)

Old index below:

GTK Glade C Programming Index

GTK window using Glade – create a window in Glade and displaying it using C code.

GTK and Glade Project Template Files – a set of template files including make file for easily starting new GTK+ Glade C projects.

Installing GTK+ 3 and Glade Development Tools in Linux – how to install GTK and Glade tools in Linux for GTK/Glade application development.

GTK+ 3 Documentation – how to find off-line and on-line GTK+ 3 documentation.

GTK+ 3 Hello World C Program – a simple “Hello World” GUI C program using GTK+ and Glade.

Displaying the GTK+ Documentation in Devhelp – how to display the GTK+ 3 reference manual in the Devhelp viewer.

Glade Packing Tutorial – use the Glade box container to pack widgets into a window. Example code in C.

Compiling GLib C Programs – compile a C program using the GLib GTK+ utility library. Also install GLib help documentation and find the version number of GLib on the system.

Get Widget Pointer in Callback Function – get a pointer to a single label widget in a button clicked callback function instead of using a global pointer variable. This allows the text of the label to be changed by the callback function.

GTK Glade Get Pointers to Widgets – How to get pointers to widgets in a GTK Glade C program without using global variables.

GTK+ 3 Glade Radio Buttons C Code – update a label depending on which radio button is clicked in a group or radio buttons. Relies on the Glade tutorial that shows how to group radio buttons in Glade.

GTK+ Find Selected Radio Button – find which radio button is selected or active in a group of GTK Glade radio buttons.

GTK Display Time in Glade Application – a GTK+ 3 Glade application that displays the current time in a window using GLib functions.

GtkSpinButton Glade GTK C Program – how to build a GTK+3 application that allows a user to enter a number in a GtkSpinButton widget.

GtkComboBoxText Glade GTK C Program – how to use a GtkComboBoxText widget as a drop-down text selection box.