Text-Selection Color



Hi,

I'm trying to get the color of selected text or the color of a selected cell in Gtk::TreeView. So far I've tried various combinations with get_xx(Gtk::StateType) and Gtk::STATE_XX in Gtk::Style but I seem to be unable to figure out the right combination. The obvious one, get_text(Gtk::STATE_SELECTED), does not return the color from my current theme. Any hints? Am I even looking in the right place?

Regards,
    Dominik.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]