Appends a widget type with all its siblings to the widget hierarchy
represented by path. Using this function instead of
gtk.widget_path.WidgetPath.appendType will allow the CSS theming to use
sibling matches in selectors and apply :nth-child() pseudo classes.
In turn, it requires a lot more care in widget implementations as
widgets need to make sure to call gtk.widget.Widget.resetStyle on all
involved widgets when the siblings path changes.
Appends a widget type with all its siblings to the widget hierarchy represented by path. Using this function instead of gtk.widget_path.WidgetPath.appendType will allow the CSS theming to use sibling matches in selectors and apply :nth-child() pseudo classes. In turn, it requires a lot more care in widget implementations as widgets need to make sure to call gtk.widget.Widget.resetStyle on all involved widgets when the siblings path changes.