Skip to content

Library that extends GTK with common widgets and utilities

License

Notifications You must be signed in to change notification settings

leggettc18/granite

This branch is 245 commits behind elementary/granite:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 30, 2023
e8b4cbb · Aug 30, 2023
May 15, 2023
Jun 12, 2023
May 18, 2023
Jan 4, 2022
May 18, 2023
Feb 1, 2022
Aug 30, 2023
Jul 24, 2018
Jul 30, 2018
Mar 20, 2013
Jun 12, 2023
Jun 8, 2023
Nov 4, 2020

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:

  • meson >= 0.49.0
  • gobject-introspection
  • libgee-0.8-dev
  • libgirepository1.0-dev
  • libgtk-4-dev >= 4.4.0
  • sassc
  • valac

Run meson build to configure the build environment:

meson build --prefix=/usr

This command creates a build directory. For all following commands, change to the build directory before running them.

To build granite, use ninja:

ninja

To install, use ninja install

ninja install

To see a demo app of Granite's widgets, run granite-demo after installing it:

granite-demo

Documentation

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

The additional requirements for building the documentation are:

  • valadoc
  • gtk-doc

To generate gtk-doc and valadoc documentation for this project, pass the additional -Ddocumentation=true flag to meson, and run ninja as before.

About

Library that extends GTK with common widgets and utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vala 87.4%
  • SCSS 8.0%
  • Meson 4.4%
  • Python 0.2%