Hello,
is there an easy way to get the contents of a GtkTextView so that i
can draw it on a gtkPrintOperation surface?

Currently i think think the simplest way is to subclass GtkTextView and
add a method for drawing its content on a arbitrary GdkDrawable
(call GtkTextDisplays gtk_text_layout_draw func with the TextLayout
slightly changed for printing).

Though i think i must have missed something, is there really no
api way to do this?

emanuel
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to