Library that extends Gtk+
Vala CMake Makefile C
Clone or download
Guanox and Weblate Translated using Weblate (Danish)
Currently translated at 100.0% (72 of 72 strings)

Translation: Desktop/Granite
Translate-URL: https://weblate.elementary.io/projects/desktop/granite/da/
Latest commit f24caa6 Aug 14, 2018

README.md

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