How can I get a multi-platform system colors collection in GTK# (like System.Drawing.SystemColors in .NET)?
I want an equivalent to System.Drawing.SystemColors.Control and System.Drawing.SystemColors.Highlight, …
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As far as I know there is no such thing in GTK.
In gtk every widget has a style associated to it. Many widgets may have the same style attached. Styles and their association to widgets are defined in theme or user’s RC file.
You can find a little more information there:
Edit: Ah, I forgot to add, that you can get a Style of any widget with the
Styleproperty on them. That way you can reuse its configuration on your own custom drawn control, if that is what you want to do.