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

Re: GtkTextBuffer & GtkTextView



Hi

I already proved adding the g_signal_connect_after with the expose_ent to gtk_vext_view.  And it doesn't work.
Only the text appears.  But When I change g_signal_connect_after for g_signal_connect, neither the text nor rectangle appear.

Any more ideas? Or I am doing something wrong?

Thanks in advance

Boris

On Fri, 2 May 2003 15:02:48 -0400
Havoc Pennington  wrote:

> On Fri, May 02, 2003 at 06:36:36PM +0200, Boris Villazon wrote:
> > 
> > Exactly.  I mean draw a rectangle around all the words in the buffer.
> > I was thinking in overlapping the textview with textbuffer but this didn't work.
> > 
> > Any idea?
> 
> I think you'd have to try connect_after to expose_event and draw the
> rectangle manually using get_iter_location() information. 
> 
> I don't know whether it would work well or not. Be interesting to let 
> the list know if you get it working.
> 
> Havoc
> 







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