项目作者: mortymacs

项目描述 :
GTK+ Widget Library
高级语言: C
项目地址: git://github.com/mortymacs/fawn.git
创建时间: 2017-08-22T15:02:25Z
项目社区:https://github.com/mortymacs/fawn

开源协议:GNU General Public License v3.0

下载


[!WARNING]

Repository Archived

This repository has been archived due to various bugs and limitations.
After careful consideration, I believe it’s better to use the official GTK library rather than relying on a wrapper,
as the official library provides better functionality and performance.
Instead of fixing and updating the current codebase, I’ve decided to archive the project.

Fawn

Fawn is a header-only GTK+ widget library which provides easy-to-use functions to create widgets.

Install

To use this library, you need to install gtk3-dev package in your GNU/Linux distribution.
In debian-based distributions it’s libgtk-3-dev.

Sample Code:

demo.c file is the sample file which contains some widgets.

Compile and run it:

  1. $ make demo

or manually:

  1. $ gcc demo.c -o bin/fawn-demo `pkg-config --libs --cflags gtk+-3.0`
  2. $ ./bin/fawn-demo

or in NixOS:

  1. nix-shell --command "gcc demo.c -o demo `pkg-config --libs --cflags gtk+-3.0`"

Result:



Functions

All functions list are available in fawn.h file.