getting & setting colors
- From: Dave Howorth <dhoworth mrc-lmb cam ac uk>
- To: gtk-app-devel-list gnome org
- Subject: getting & setting colors
- Date: Wed, 20 Feb 2008 17:10:30 +0000
I want to temporarily change the background or foreground color in a
widget (TextBuffer or Entry), to highlight errors.
I've found gtk_widget_modify_bg, which looks like it will let me change
the background colour, but I can't see any way to return the color to
what it was previously. I suppose I ust be missing something obvious :(
Is there a getter for the background color that I'm not seeing?
Thanks, Dave
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]