Run External Program from GTK Application

Run external program from GTK application using GTK 3 and the C programming language. How to run an external program from within a GTK application written in the C programming language using Glade interface designer. This tutorial shows how to invoke a command line command from a GTK 3 GUI application and redirect the output … Continue reading Run External Program from GTK Application

GTK 3 Code::Blocks Tutorial

How to make GTK 3 projects using the Code::Blocks IDE. The Code::Blocks IDE adds debugging capabilities to any C language GTK 3 project in this tutorial. How to make user templates in the Code::Blocks IDE for GTK 3 projects that use Glade. This GTK 3 Code::Blocks tutorial show how to set up the Code::Blocks IDE … Continue reading GTK 3 Code::Blocks Tutorial

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

GTK Widget Hierarchy Tutorial

This article explains GTK widget hierarchy and object hierarchy. GTK is a graphical toolkit for GUI design that is implemented as a set of libraries. GTK widgets have a hierarchy because they have an object oriented design. Understanding GTK widget hierarchy is a necessary part of learning to program with GTK. Part 20 of GTK … Continue reading GTK Widget Hierarchy 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