Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/321zer0/gtk-c-tutorial
GTK+ 3 Tutorial in C
https://github.com/321zer0/gtk-c-tutorial
c-programming gtk gtk3
Last synced: about 1 month ago
JSON representation
GTK+ 3 Tutorial in C
- Host: GitHub
- URL: https://github.com/321zer0/gtk-c-tutorial
- Owner: 321zer0
- License: mit
- Created: 2018-02-02T19:45:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T12:34:13.000Z (over 6 years ago)
- Last Synced: 2024-11-09T12:45:39.536Z (3 months ago)
- Topics: c-programming, gtk, gtk3
- Language: C
- Homepage:
- Size: 1.95 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GTK+ 3 Tutorial
This GTK+ 3 tutorial is a collection of examples on how to build GUI apps using the GTK+ 3 toolkit. The examples are written in the C
programming language. Each example shows how a particular widget can be used.## Installing GTK+ 3
The GTK+ library and its dependencies must be installed on your system first in order to compile code that uses GTK+
On Linux:
```
sudo apt-get install libgtk-3-dev
```On Windows using MSYS2:
```
pacman -S mingw-w64-x86_64-gtk3
```
## CompilationThe code can be compiled as follows:
On Linux:
```
gcc -Wall -O -o example example.c `pkg-config --cflags --libs gtk+-3.0`
```On Windows using MSYS2:
```
gcc -Wall -O -o example.exe example.c `pkg-config --cflags --libs gtk+-3.0`
```