Re: Text-View
- From: Havoc Pennington <hp redhat com>
- To: albie alfarrabio di uminho pt
- Cc: gtk-list gnome org
- Subject: Re: Text-View
- Date: 04 Jan 2002 11:03:44 -0500
Alberto Manuel Brandao Simoes <albie alfarrabio di uminho pt> writes:
>
> I have a problem using the text-view widget... I want to make
> a line with background, but the area between the end of the text and
> the right margin of the text-view is not shaded...
>
> Can anybody help?
That's just how the background property works, it only colors the
area behind the text that's tagged.
You could file a feature request to add a paragraph_background
property or something like that in GTK 2.2, that would do what you
want. File the feature request on http://bugzilla.gnome.org.
As a hack in the meantime you could maybe paint in the margins
yourself by doing g_signal_connect_after() on expose_event and using
functions like gtk_text_view_get_line_yrange() to decide where to
paint.
Havoc
- References:
- Text-View
- From: Alberto Manuel Brandao Simoes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]