Fwd: Fwd: Re: Fwd: Improving the Forms Gramplet - Event Creation + Form Questions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Fwd: Fwd: Re: Fwd: Improving the Forms Gramplet - Event Creation + Form Questions

Patrick Gerlier

Retransmitting this message because I hit a limit on message size. Here without attachment. Attachments will be sent separately in compressed form, hoping that zipped files are accepted

-------- Message transféré --------
Sujet : Re: [Gramps-devel] Fwd: Improving the Forms Gramplet - Event Creation + Form Questions
Date : Sun, 10 May 2020 10:47:39 +0200
De : Patrick Gerlier [hidden email]
Pour : Dennis Bareis [hidden email], Gramps, Windows Family Tree Software (MantisBT) [hidden email]

Hi Dennis,

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 Gramps internals.

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 :
Hi all,

I've never used Github, Python or GDK or anything else similar before so please provide detailed information :-)

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 stuck).

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.

Thanks for any help.


Gramps-devel mailing list
[hidden email]