How can I print GtkTextBuffer using GtkPrint ?



I want to support printing in my application using GtkPrint.

Is there a simple way to print the contents of the GtkTextBuffer (containing multiple fonts, colors and other 
formatting)
using the GtkPrint ?

Do I have to write the code that draws the text manually ?
Is there any complex sample code that could help me ?

TIA,
  Miroslav


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