Make a GTK Web Browser with Glade

How to make a GTK web browser application with Glade and C code. A simple web browser example project using GTK+ 3 and the WebKitWebView widget from WebKitGTK. It is very simple to make a web browser using the WebKit rendering engine. This is made possible in GTK by a full-featured port of the WebKit … Continue reading Make a GTK Web Browser with Glade

GTK Image Viewer with Glade

Make a GTK image viewer using GTK+ 3, Glade and the C programming language. GTK image viewer example project and tutorial. This is a very simple example that opens and displays an image full size. The image below shows the application built in this part of the tutorial series. Part 25 of GTK 3 Programming … Continue reading GTK Image Viewer with Glade

GTK Template Files with Widget Structure

GTK template files for GTK+ 3 projects that use Glade and the C programming language. C source code that includes a widget structure for getting pointers to widgets. I got tired of manually adding a widget pointer structure, and supporting code, to every new GTK 3 Glade project. A new set of template files in … Continue reading GTK Template Files with Widget Structure

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

GTK Glade C Example Text Reader Program

Build a text reader application in this simple GTK Glade C example tutorial. A GTK tutorial that goes a step beyond an easy hello world example program. This tutorial shows how create a GUI windowed application using GTK, Glade and C code. The application is a simple text reader that can open a text file … Continue reading GTK Glade C Example Text Reader Program

GTK C Tic-Tac-Toe Game Tutorial

GTK C tic-tac-toe game, or noughts and crosses game, using Glade user interface designer. Build this game using GTK 3, Glade and the C programming language to learn more about GTK programming. This tutorial shows how to place an image (GtkImage) in a button (GtkButton). It also breaks a GTK C program into parts, using … Continue reading GTK C Tic-Tac-Toe Game Tutorial

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

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