Re: [gtk-list] text widgets



Patrick Cantell wrote:

> been reading the tutorial and looking through headers, but i can't seem
> to figure out how to change the default color of a text widget
>
> i want it so the box is black when i start the program instead of
> white... is this possible? if so, how?
>
> Thanks in advance
>  Patrick
> Get Your Private, Free Email at http://www.hotmail.com
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null

So try the rc file to configure your text widget ... or see the source file of gtkText.c

when you insert text, specify the color parameter...

Ex: gtk_text_insert (GTK_TEXT (text_to_write), font,color, NULL, ....)

--
Thanks for Ol:)))

mailto:dubrocam@emi.u-bordeaux.fr





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]