I'd like (working) printing sample code
- From: "Garth's KidStuff" <garthskidstuff gmail com>
- To: gtk-app-devel-list gnome org
- Subject: I'd like (working) printing sample code
- Date: Mon, 31 Mar 2008 07:34:31 -0700
Hi,
Thanks in advance. The sample code at:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-printing-example.html
doesn't work for me. I get the on_begin_print callback as expected, but
never receive the on_draw_page callback. Instead I get an endless series of
error/warning messages as follows:
(Opus:7115): GLib-GObject-CRITICAL **: g_value_type_compatible: assertion
`G_TYPE_IS_VALUE (src_type)' failed
(Opus:7115): GLib-GObject-WARNING **:
/build/buildd/glib2.0-2.14.1/gobject/gsignal.c:2180:
invalid object type `g-key-file-error-quark' for value type
`GtkPrintContext'
repeat ad infinitum
I'm writing a gtkmm app in C++ and have had great luck with the other
examples in the tutorials I refer to above.
-Garth
--
Garth Upshaw
Garth's KidStuff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]