Skip to content

aral/granite

 
 

Repository files navigation

Granite

Granite is a companion library for GTK+ and GLib. Among other things, it provides complex widgets and convenience functions designed for use in apps built for elementary OS.

Packaging status Translation status

Building, Testing, and Installation

You'll need the following dependencies:

  • cmake
  • gobject-introspection
  • libgee-0.8-dev
  • libgirepository1.0-dev
  • libgtk-3-dev
  • valac

It's recommended to create a clean build environment

mkdir build
cd build/

Run cmake to configure the build environment and then make all test to build

cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make

To install, use make install

sudo make install

To see a demo app of Granite's widgets, use 'granite-demo'

granite-demo

Documentation

Documentation for all of the classes and functions in Granite is available on Valadoc

To generate Vala documentation from this repository, use make valadocs

make valadocs

To generate C documentation from this repository, use make cdocs

make cdocs

To generate both C and Vala documentation at once, use make docs

make docs

About

Library that extends Gtk+

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vala 89.9%
  • CMake 7.8%
  • Makefile 1.6%
  • C 0.7%