Open main menu

Gramps β

Difference between revisions of "Granite Gramplet"

m
(Further development)
 
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Granite gramplet is an experimental [[Gramplets]] using GObject Introspection, Gtk and Granite widgets.
+
{{Third-party plugin}}
 
+
{{man warn|Unreleased addon|No code available
__TOC__
+
}}
 +
Granite gramplet is an experimental [[Gramplets|Gramplet]] using GObject Introspection, Gtk and Granite widgets.
  
 
=What is Granite?=
 
=What is Granite?=
  
Granite is an application framework designed with the intend to build better apps with less efforts.
+
Granite is an application framework designed with the intent to build better apps with less efforts.
  
 
==API==
 
==API==
  
Granite is a part of [http://elementaryos.org/developer/tech ElementaryOS].
+
Granite is a part of [https://web-beta.archive.org/web/20120424053229/http://elementaryos.org/journal/pushing-innovation-and-consistency-developer-update ElementaryOS].
  
 
The Granite framework is something people have cooking for developers to really make it easy to develop applications on elementary. Right now it's very much a work-in-progress, but in the future they hope it will provide useful libraries for storing settings and communicating with other applications, among other things. Basically, the lead elementary developers noticed a lot of redundancy and unnecessary complications in writing applications for elementary, so Granite is their solution to these issues. Right now it is an amalgamation of some widgets and libraries whipped up by elementary developers, and some taken from the fantastic Docky/Plank projects.
 
The Granite framework is something people have cooking for developers to really make it easy to develop applications on elementary. Right now it's very much a work-in-progress, but in the future they hope it will provide useful libraries for storing settings and communicating with other applications, among other things. Basically, the lead elementary developers noticed a lot of redundancy and unnecessary complications in writing applications for elementary, so Granite is their solution to these issues. Right now it is an amalgamation of some widgets and libraries whipped up by elementary developers, and some taken from the fantastic Docky/Plank projects.
  
See its [http://valadoc.elementaryos.org/Granite/index.htm API].
+
See its [https://valadoc.org/granite/index.htm API] and [https://valadoc.org/granite/Granite.Widgets.html custom classes].
  
 
==Python==
 
==Python==
  
 
We can find some samples of python modules using Granite GObject Introspection, like:
 
We can find some samples of python modules using Granite GObject Introspection, like:
https://gist.github.com/zodman/4069349
+
* https://github.com/mariocesar/granite-demo
 +
* https://gist.github.com/zodman/4069349
 +
* https://gist.github.com/vkolev/3738745
 +
etc ...
  
=In progress...=
+
=Further development =
  
 
According to ways used on {{bug|5253}}:
 
According to ways used on {{bug|5253}}:
  
# Play with ''[http://gramps-addons.svn.sourceforge.net/viewvc/gramps-addons/trunk/contrib/lxml/ etreeGramplet gramplet]'', try to include some granite widgets and create an alternate version.
+
# Play with [[Addon:Lxml_Gramplet#etree_Gramplet|etree Gramplet]] ([https://github.com/gramps-project/addons-source/tree/master/lxml etreeGramplet gramplet code]), try to include some granite widgets and create an alternate version.
 
# Maybe to create a Gtk/Granite/python/Gramps script for my desktop?
 
# Maybe to create a Gtk/Granite/python/Gramps script for my desktop?
 +
 +
=see also=
 +
* [https://gramps-project.org/bugs/view.php?id=5253#c30646 I planned to also test a standalone script for my desktop (OS)....Granite_Gramplet]
 +
* https://sourceforge.net/p/gramps/mailman/message/30852460/
  
  

Latest revision as of 21:18, 21 March 2022

Gramps-notes.png

Please use carefully on data that is backed up, and help make it better by reporting any comments or problems to the author, or issues to the bug tracker
Unless otherwise stated on this page, you can download this addon by following these instructions.
Please note that some Addons have prerequisites that need to be installed before they can be used.
This Addon/Plugin system is controlled by the Plugin Manager

Gnome-important.png
Unreleased addon

No code available

Granite gramplet is an experimental Gramplet using GObject Introspection, Gtk and Granite widgets.

Contents

What is Granite?

Granite is an application framework designed with the intent to build better apps with less efforts.

API

Granite is a part of ElementaryOS.

The Granite framework is something people have cooking for developers to really make it easy to develop applications on elementary. Right now it's very much a work-in-progress, but in the future they hope it will provide useful libraries for storing settings and communicating with other applications, among other things. Basically, the lead elementary developers noticed a lot of redundancy and unnecessary complications in writing applications for elementary, so Granite is their solution to these issues. Right now it is an amalgamation of some widgets and libraries whipped up by elementary developers, and some taken from the fantastic Docky/Plank projects.

See its API and custom classes.

Python

We can find some samples of python modules using Granite GObject Introspection, like:

etc ...

Further development

According to ways used on 5253:

  1. Play with etree Gramplet (etreeGramplet gramplet code), try to include some granite widgets and create an alternate version.
  2. Maybe to create a Gtk/Granite/python/Gramps script for my desktop?

see also