Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
SWT/Devel/Gtk/CSS selector
Avoiding CSS warnings in console
GTK CSS has a specific format in order to be parsed without warnings. The format is as follows:
<widget name/selector> {<property>: <value>;}
For example:
GtkWidget {background-color: rgba(255, 0, 0, 255);}
Forming CSS strings with this format will not cause any warnings. Additional semi-colons will cause problems. Note that only one semi-colon is needed.