Hello,

I have a need to get the current (as per the selected UI theme) text  
selection color. I will be using this to highlight some other custom  
drawn elements in the UI of my gtk app.

I understand that I can get this from the style information of a text  
widget (GtkEntry, etc), but it seems that the widget must be active in  
the UI before this information is fully filled in (that is, just  
creating a GtkEntry and accessing its style information does not give  
the correct results - this is just from my experiments).

Any idea how I can access the text selection color at startup in my  
gtk app?


thanks,
steve
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to