text selection color accessor
- From: Steve Splonskowski <splons mac com>
- To: gtk-app-devel-list gnome org
- Subject: text selection color accessor
- Date: Tue, 15 Apr 2008 18:34:30 -0700
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]