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

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

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

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

Use apt or apt-get on Linux?

Should we use apt or apt-get on Linux? Advanced Package Tool apt and apt-get are both command-line tools for handling packages on Debian and Debian based Linux distributions such as Ubuntu and Linux Mint. Linux users who update Linux from the command line on Debian based systems are familiar with “sudo apt-get update” and “sudo … Continue reading Use apt or apt-get on Linux?

Output HTML from PHP on Command Line

How to output static web pages from PHP on command line – convert a PHP page to its HTML output on the command line. This article shows how to output HTML from PHP in a terminal. The objective of this article is to show how to output an HTML web page from an input PHP … Continue reading Output HTML from PHP on Command Line

FileZilla SFTP Connection Error

FileZilla shows a message: Error: Pageant failed to answer challenge when trying to connect to a server using SFTP. This FileZilla SFTP connection error prevents connecting to a remote server using the FileZilla application. SSH from the command line also fails. Error: Pageant failed to answer challenge Message in FileZilla The image below shows the … Continue reading FileZilla SFTP Connection Error