Changing the foreground color of a progress bar
- From: Douglas Phillipson <dougp intermind net>
- To: gtk-app-devel-list gnome org
- Subject: Changing the foreground color of a progress bar
- Date: Fri, 27 Feb 2004 14:33:41 -0800
The archives seem to always point to:
GdkColor color;
gdk_color_parse ("red", &color);
gtk_widget_modify_fg (widget, GTK_STATE_NORMAL, &color);
This works fine for the background color with:
gtk_widget_modify_bg (widget, GTK_STATE_NORMAL, &color);
But the foreground color is unaffected by the "fg" version of this API
call. Has anyone seen a workaround for this problem? Do I need to
resort to creating a custom progress bar? Anyone done this?
Thanks
Doug P
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]