3,146
edits
Changes
From Gramps
no edit summary
==Rule Amendments==
{{man tip| 1=Changes to Rules are inconspicuous|2=New built-in builtin Rules appear without any fanfare. Plus there are so many of them, grouped in so many subcategories that they may remain concealed.<br />Addons require downloading and installation, so the addon Rules have more visibility than the builtins. Plus they can be searched as a category in the Plugin Manager.}}
[[File:Preferences UpdateAddons-Rule-51.png|thumb|right|450px|Fig. {{#var:chapter}}.{{#vardefineecho:figure|{{#expr:{{#var:figure}}+1}}}} Preferences: Check for Updated Addons showing Rules]]
Rules are the basic building blocks of custom [[Filter|Filters]]. A wide variety of [[Gramps_{{man version}}_Wiki_Manual_-_Filters#Which_filter_rules_in_which_Category.3F|rules have been built-in builtin for creating custom filters in each category]].
The following of addon Rule collections have been gathered released as "Packs" of rules:
* '''Degree 3''': persons grandparents and 3 generations down. (= 2N ancestors + 3N descendants).
The ancestors and descendants generations have an offset of 1 to mimic the built-in builtin filter rule behavior. Early versions of this rule optionally included partners and non-primary parents. Those relatives are now always included.
This Rule may need to manually downloaded and installed: see the source code files on the [https://gist.github.com/Mattkmmr/4d0369cbee38bdf14395cb2f4505fb8a GitHub Repository]
* '''Degree 3''': persons grandparents and 3 generations down. (= 2N ancestors + 3N descendants).
The ancestors and descendants generations have an offset of 1 to mimic the built-in builtin filter rule behavior. Early versions of this rule optionally included partners and non-primary parents. Those relatives are now always included.
Early versions of this rule optionally included partners and non-primary parents. Those relatives are now always included.
=== See also ===
* [[Gramps_{{man version}}_Wiki_Manual_-_Filters#Which_filter_rules_in_which_Category.3F|Built-in Builtin rules by category]]
* [[Brief_introduction_to_Git|Git introduction]]
* [https://github.com/gramps-project/gramps/tree/master/gramps/gen/filters/rules Built-in Builtin Rules Source code] (Git)
* [https://github.com/gramps-project/addons-source Addon Rules Source code] (Git)
* [https://developer.gnome.org/gtk3/stable/ch03.html Gtk+ widget gallery] - Gnome development sample code