gio

How do I obtain the Gtk3 selection color of a widget using GtkStyleContext

How do I obtain the Gtk3 selection color of a widget using GtkStyleContext Question: I’m trying to obtain the selection color of a Gtk3 IconView in python but I’m confused how to interpret the existing C++ documentation and how it relates to Python. My current python code is as follows: color = self.iconview.get_style().bg[Gtk.StateType.SELECTED] This works …

Total answers: 3