Thanks for the reply. :)

Actually, I tried using the example in the GtkDemo first. But when I try to use the PrintOperationAction.PrintDialog property, I can't seem to find a way to make the dialog modal with the parent because I don't have a reference to the actual dialog widget.

I also can't find documentations for the PrintContext or PrintOperation class. Do you know any documentation for these classes?

Mike Kestner wrote:
On Mon, 2008-02-25 at 16:25 +0800, Marc Glenn wrote:
Hello folks,

     I installed the mono-1.2.5.1 installer for windows xp. It has
gtk-sharp 2.10 and gnome 2.16 included.
I also found PrintSample.cs in the samples directory. This
PrintSample.cs uses the Gnome namespace to print.

You should use the Gtk printing capability.  Gnome.Print is deprecated
now and relies on libgnomeprintui which is probably not available for
win32.

There is a sample of how to use Gtk.Print in the GtkDemo application
located in gtk-sharp/samples.


_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to