Re: [gtk-list] text widgets
- From: ol <Olivier Dubroca Marsan emi u-bordeaux fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] text widgets
- Date: Wed, 31 Mar 1999 14:11:30 +0200
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]