Re: background in gtk_text_view



who_ami siedziba pl writes:

On 26 Feb 2003, Olaf Frączyk wrote:

On Wed, 2003-02-26 at 14:34, MichaĹ? Straszak wrote:
Hello,
Is it possible to set the background color of the whole
line (or lines) in gtk_text_view? And how? (not text background)
My english isn't perfect, so this is what I mean:
|--------------|
|Some text     |
|Some#text#####| #-colored background
|              |
|Some#very#very|
|long#text#####|
|              |
|--------------|
Hi,

I asked this question an this list about week ago. But got no solution.
If you find one, please mail me.

Regards,

Olaf Fraczyk


I am also interested (tzn, rowniez jestem zainteresowany tym tematem:))


Hubert Sokołowski

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

I'm rather new to this, but perhaps you could achieve what you want by
first using gdk_draw_rectangle with filled==TRUE and then drawing the
PangoLayout? 

Regards, Enrique



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