Re: Changing colours at run-time
- From: Havoc Pennington <hp redhat com>
- To: Luke Gorrie <luke bluetail com>
- Cc: gtk-list gnome org
- Subject: Re: Changing colours at run-time
- Date: 24 Apr 2001 14:32:37 -0400
Luke Gorrie <luke bluetail com> writes:
> I want to change the colour of certain widgets at runtime.
> I'm using the text colour in editing widgets ("entry", radio buttons,
> choice menus, ...) to indicate status (e.g. red text - bad value). I
> define my colours in an rc-file, and use calls to widget_set_name to
> restyle widgets when their status changes. But - many of the widgets
> don't immediately take on a new style when I change their names.
> Labels, radio buttons, and others are being uncooperative - entries
> are just fine.
> So - how do I tell a widget to redraw itself using its new style?
It appears that the widget is supposed to do that automatically,
suggest making a small test case and putting it in bugzilla.gnome.org.
] [Thread Prev