> > On Tue, 2005-05-10 at 18:38 -0400, Freddie Unpenstein wrote: > > > > > 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.
The attachment didn't make it to the list so here it is quoted: def on_textview__expose_event(textview, event): window = textview.get_window(gtk.TEXT_WINDOW_TEXT) if event.window != window: return # draw onto window Stephen -- Stephen Kennedy <[EMAIL PROTECTED]> http://meld.sf.net visual diff and merge _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list