Changing the foreground color of a progress bar



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]