Skip to content

michtesar/GStopWatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GStopWatch

A small playground for start of How to develop GUI applications in Linux with GTK3+ and C programming language.

This little repository shows how to setup CMakeLists.txt to compile against C99 and GTK3+ for C on Ubuntu 20.04.

GUI is made in Glade and GTK3+ loads the XML definition at runtime.

Dependencies

sudo apt install cmake libgtk-3-dev

Optionally for development also:

sudo apt install glade

Install from source

CD into repository and then:

mkdir ./build
cd ./build
cmake ..
make

Run

In build folder run: ./gsw

Usually it should be possible to make it executable

chmod +x ./gsw

but there is an issue with GNOME 3 file browser (Nautilus), that does not recognize build file as executable but text file.

About

Testing of GTK+3 in C programming language.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published