printing GtkTextView contents

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

 



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
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux