Understanding Gramps class structure is not an instant task.
It is based on an interesting concept of plugin, therefore you
must follow some interface protocol to be nicely integrated.
When it comes to UI, things get complicated because GTK+
widgets are overloaded with specific Gramps classes.
I made some very synthetic notes when I added a feature for
my own use. They do not cover Gramps in its entirety, but it
could help you when designing dialogues or other windows. See
the attached documents (LibreOffice is needed to fully display
them, but Excel should be able to read the spreadsheet).
If you intend to delve into programming, I recommend you
install LXR (Linux cross-referencer). Despite its name, it is
OS-agnostic: it runs on Windows, MacOS X, Linux, … It is very
handy to navigate in the code. You can click on identifiers to
see where they are defined and used and immediately jump to
that location. This utility really speeds up understanding
Also, use some IDE (integrated development environment) tool
instead of a mere editor. Again, you'll have possibilities to
navigate between classes and have the IDE to check correctness
while you type.
Le 10/05/2020 à 05:43, Dennis
Bareis a écrit :
I've never used Github, Python or GDK or anything
else similar before so please provide detailed
I started learning Python 2 days ago and have been
able to make a lot of improvements (if interested see
attached for the changes I have made and where I am
I can't find any documentation of Gramps, class,
methods or attributes. I have located some code but
that is mainly uncommented and cryptic to me.