C Sharp Hello World Tutorial

Write a simple Windows desktop application using Visual Studio 2017 in this C Sharp hello world tutorial. Visual C# 2017 is used to create a window with two labels and a button. When the button is clicked a “hello world” message is displayed in one of the labels. The other label shows a count value … Continue reading C Sharp Hello World Tutorial

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

Display Time Qt Creator Application

Display time Qt Creator application tutorial that shows how to update the current time in an application window every second. This tutorial shows how to start a 1 second timer that calls a function periodically and how to get the current time (hours, minutes and seconds). The finished Qt application window is shown above with … Continue reading Display Time Qt Creator Application

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 Radio Buttons C Code

GTK+ 3 Glade radio buttons C code that demonstrates how to use radio buttons in a Glade GTK project. The tutorial in the previous blog post showed how to group radio buttons in Glade, but did not show how to use the radio buttons in a program. This tutorial shows how to use the radio … Continue reading GTK+ 3 Glade Radio Buttons C Code

Group Radio Buttons in Glade

How to group radio buttons in Glade so that they act as a unit. Clicking one radio button selects it and clears all other radio buttons in the group. This tutorial shows how to group radio buttons in Glade user interface designer without any code to operate the buttons. This allows the window to be … Continue reading Group Radio Buttons in Glade

GTK Glade Get Pointers to Widgets

How to get pointers to widgets in a GTK Glade C program without using global variables. Use a local structure to pass widget pointers to a callback function. Pass user data and widget pointers to callback. GTK Glade Pointers to Widgets Example Program and Tutorial This Glade GTK+ 3 C programming tutorial shows how to … Continue reading GTK Glade Get Pointers to Widgets

Qt 5 Hello World Tutorial using Qt Creator

A simple Qt 5 Hello World tutorial that demonstrates how to use Qt Creator to make a GUI application window. Create a window with two text labels and a button in this easy tutorial for beginners. Program the application in C++. The image below shows the finished Qt GUI window application. When the button is … Continue reading Qt 5 Hello World Tutorial using Qt Creator