Re: How to enter a floating-point number ?
- From: "Freddie Unpenstein" <fredderic excite com>
- To: rjshaw netspace net au
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to enter a floating-point number ?
- Date: Fri, 4 Jun 2004 14:31:45 -0400 (EDT)
Freddie Unpenstein wrote:
What is the "proper" way to change the text colour of Entry,
SpinButton and CheckButton widgets?
GtkLabel has no window, so you need to put it into a GtkEventBox and
change the colour of that.
I presume you're referring tot he CheckButton's here? As I said, I want to change the "text colour", not the
background colour, which is what I believe you're suggesting. Background colour is trivial, and ugly.
Moreover, as far as I can tell, short of fiddling with styles set on the EventBox and getting said (and
somewhat unrelated, with respect to the EventBox) style changes to propogate along to the Entry or SpinButton
within the EventBox, it ain't going to do a damn thing.
I've seen plenty of discussion in here on changing background colour of window-less widgets. But if there
was a discussion on the proper way of changing text colour on these widgets, especially with reference to
after said widgets have been created, well I seem to have missed it.
Any relevant help would be much appreciated. :)
fredderic
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]