printing GtkTextView contents
- From: Emanuel Schwarz <schwarz emanuel gmail com>
- To: gtk-list gnome org
- Subject: printing GtkTextView contents
- Date: Mon, 21 Jul 2008 19:49:04 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]