Re: GtkTextView horizontal seperators...




I was wondering if anyone knows how I could draw a horizontal red
line across a GtkTextView buffer.
The best solution I found was to just draw directly onto the view
through the expose-event using drawable.draw_line etc.

Ahhh.....  I think that may be what I was waiting for...

You wouldn't happen to have the code snippit you used to bind the line to a particular point in the text 
buffer, would you?  I haven't done a lot with GtkTextView's, so that would be quite handy...

I wonder if that behaviour could be wrapped into an object?


Fredderic

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!





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