Re: unable to print with gtkmm 2.12



Helfer Thomas пишет:
[...] The print operation goes into an infinite loop
showing this message on the terminal :
[...]
As for me, this printing began to work after I've added this method:

bool Printing::on_paginate(const Glib::RefPtr<Gtk::PrintContext>& context)
{
   return true;
}

This thing is used for something in Gtk::PrintOperation, and it is missing
in example.
Now my plots are printed successfully (using Cairo).
   Hope it helps.
      Igor Gorbounov



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