We can add our custom classes to custom widgets, and we can set the widget name, which can be used as #id selector from CSS Unfortunately we can not set the main CSS node name for CustomWidgets defined through GTKmm (C++) The latter is only possible when deriving the custom widget in plain-C, which is quite tedious. On a second thought, this limitation is not so severe as it might seem, because most of the time you actually do *not* want to change the CSS node name, because you want to match against existing rules in the theme (e.g. box, or paned) The actual case here would have been an exception to this rule, since here it would be nice to anchor the whole custom timeline drawing in an "body.timeline" element NOTE: Current state for the selector path is now: window.background box.vertical box[2/3].horizontal widget[2/2] widget paned.vertical widget box.vertical notebook[1/1].frame paned.horizontal.timeline-page box.vertical.timeline.timeline-body fork.timeline |
||
|---|---|---|
| .. | ||
| draw | ||
| DIR_INFO | ||
| empty.html | ||
| InterfaceConcept_Varga.mm | ||
| renderengine.html | ||
| thinkPad.ichthyo.mm | ||
| uml | ||
| workflow.mm | ||