Gramplet to display significant historical events with the year they happened (and optionally) the year they ended.
A double-click on a row will open a browser tab at the provided Link
The gramplet considers the lifespan of the Active Person in the People and the Relationship Category views splitbars. It will use the birth and death of the active person to narrow the list to pertinent events. If either of the dates are missing the gramplet assumes a probable life span set in the Preferences using Gramps' "Probably Alive" calculation.
The data for the gramplet comes from a simple CSV file using the semi-colon delimiter, which can be edited with a normal text editor.
The Format is:
from;to;event;link to event
example:
1789;1797;George Washington;https://wikipedia.org/wiki/George_Washington
Dates can be written in any of Date formats normally uses, including "Today" for ongoing events.
The file name is <locale>_data_v1_0.txt
e.g. da_DK_data_v1_0.txt
for Denmark
Currently only a small assortment of files are provided, including da_DK_data_v1_0.txt
and en_US_data_v1_0.txt
which simply is a list of American presidents.
The third is deafult_data_v1_0.txt
which will be used as a fallback, if there no data file if found for your language.
The fourth file is custom_v1_0.txt
which can be used for adding your own data, which will be merged into the view.
You can add and use any semi-colon delimited file, as long as it ends with _v1_0.txt
However, the entire list in the text file must be in the correct CSV format and include 4 semi-colon separated data items for each line. Otherwise, a separate error will be reported for each incorrect line and that data will be omitted from the list.
The entire file is cached and you will be nagged about each bad line.
The options can be accessed by the settings for the view:
- This string can be used to filter out text. If you set this to "Cen", then all lines where the text starts with "Cen" will be filtered out (i.e., "Census" as well as "Century", but not "1910 Census")
- If you select the "Use filter" checkbox, your filter in the #1 textbox will be active
- This checkbox determines whether the gramplet will show all events or only those in the active person's life span
- Whether you will use full dates or full years for comparison between the event and the active person's life span. This option also causes full dates to be displayed in the Gramplet.
- The foreground color for lines within the active person's life span. Clicking a color swatch opens a standard (Gtk.ColorChooserDialog) color picker.
- The background colour for lines within the active person's life span
- The foreground colour for lines outside the active person's life span
- The background colour for lines outside the active person's life span
- Any event file ending in
_v1_0.txt
will be listed with a checkbox. Selected event files will be included in the gramplet's timeline.