Re: Get current color of a widget?
- From: Olexiy Avramchenko <olexiy irtech cn ua>
- To: David Härdeman <david 2gen com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Get current color of a widget?
- Date: Fri, 14 Nov 2003 14:10:02 +0200
David Härdeman wrote:
Hi,
I've been unable to find the answer to the following question:
How do I get the current fg color for a widget in a specific state?
Something like the inverse of gtk_widget_modify_fg()...
Hello,
GTK_WIDGET(widget)->style->fg[the_state_you_need]
Look at:
http://developer.gnome.org/doc/API/2.0/gtk/GtkStyle.html#GtkStyle-struct
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]