GEPS 004: My Gramps and Gadgets

From Gramps
Revision as of 15:43, 27 December 2007 by Dsblank (talk | contribs)
Jump to: navigation, search

Proposed changes for enhancing GRAMPS by adding a new GUI API that allows data to be displayed on the screen, with graphical objects such as tables, buttons, text entry, links, etc. This would effectively be able to turn a user plugin into an interface for moving, say, the active person in the main window, or, possibly, for user-defined data entry.

Motivation

Allows users to add to the GRAMPS interface. A new page, currently called "My Gramps", would be created that allows for customized "gadgets" that perform various functions (other than tools and reports). This might include: interactive shells, TODO lists, logs, debugging tools, and various "folders" for organizing groups of people, families, or other objects.

Details

A prototype is now available for exploration and testing. To activate the prototype, add the following line to your .gramps/keys.ini file in the interface section:

data-views= MyGrampsView, PersonView, RelationshipView, FamilyListView, PedigreeView, EventView, SourceView, PlaceView, MediaView, RepositoryView, NoteView

This should be all on one line. You can change the order (and leave some pages out) as well with this key. (You can also add pages multiple times, but that isn't as useful as the active object on one page will change it on another).

On start up, the file gadgets.ini is looked for in the user's .gramps subdirectory. If it is not found, a set of gadgets are created, currently a Message Gadget with a welcome message and a Stats Gadget.

Discussion

This type of proposal is discussed on these threads:

http://www.nabble.com/A-ScreenDoc-idea-t847639.html

http://www.nabble.com/Re:-Interactive-Quick-Reports-(was-Notes-in-V3.0)-p12735768.html

http://www.nabble.com/QuickReports-and-TextBufDoc--tf4537797.html

http://www.nabble.com/Report-Interface-tf4559738.html

There is also a Feature Request to remind us:

http://bugs.gramps-project.org/view.php?id=1291