- Notifications
You must be signed in to change notification settings - Fork62
Library that extends GTK with common widgets and utilities
License
elementary/granite
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Granite is a companion library for GTK and GLib. Among other things, itprovides complex widgets and convenience functions designed for use in appsbuilt for elementary OS.
You'll need the following dependencies:
- meson >= 0.57.0
- gobject-introspection
- gettext
- libgee-0.8-dev
- libgirepository1.0-dev
- libgtk-4-dev >= 4.4.0
- sassc
- valac
Runmeson build
to configure the build environment:
meson build --prefix=/usr
This command creates abuild
directory. For all following commands, change tothe build directory before running them.
To build granite, useninja
:
ninja
To install, useninja install
ninja install
To see a demo app of Granite's widgets, rungranite-7-demo
after installing it:
granite-7-demo
Documentation for all of the classes and functions in Granite is availableon Valadoc
The additional requirements for building the documentation are:
- valadoc
- gtk-doc
To generate gtk-doc and valadoc documentation for this project, pass theadditional-Ddocumentation=true
flag to meson, and runninja
as before.
About
Library that extends GTK with common widgets and utilities