> -----Original Message-----
> From: Krzysztof Magrel [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 31, 2002 7:20 AM
> To: 'Jean-Michel OLTRA'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: How can I change color of fonts in GTK 1.2
>
>
>
>
> > -----Original Message-----
> > From: Jean-Michel OLTRA [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 30, 2002 9:02 PM
> > To: Krzysztof Magrel
> > Subject: Re: How can I change color of fonts in GTK 1.2
> >
> >
> > On Tuesday 30 Jul 2002, Krzysztof Magrel wrote:
> > > It doesn't work for me :((
> >
> > > > Use sth like that ?
> > > >
> > > > GdkColor blanc = {65535, 65535, 65535};
> > > > GtkWidget *label;
> > > >
> > > > label->style = gtk_style_copy(label->style);
> > > > label->style->fg[GTK_STATE_NORMAL] = blanc;
> >
> > Aaargh !
> > What do you want to do ? What kind of widget do you want to
> change the
> I wanna change font's color of normal label (GtkLabel class)
> > font color from ?
> >
> > Did you try to set colors in a rc-file ?
> Yes, I already tried and every colors of fonts are now blue
> :) (I changed entry fg[NORMAL] to "#0000ff")
> I don't know why Your solution doesn't work for me.
> I've it like that: GdkColor color;
>
> GtkWidget *label;
>
> color.red=65535;
> color.green=0;
> color.blue=0;
>
> label=lookup_widget(main_window,"label8");
> label->style=gtk_style_copy(label->style);
> label->style->text[GTK_STATE_NORMAL]=color;
I of course tried also change it with:
label->style->fg[GTK_STATE_NORMAL]=color;
without result....
>
>
> > --
> > jean-michel
> >
> >
> ----------------------------------------------------------------------
> > Zacznij dobrze dzien... >>> http://link.interia.pl/f162e
> >
> >
>
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list