Re: The printing work has been merged

On Fri, 2006-03-24 at 23:03 -0600, Yevgen Muntyan wrote:
> Hey,
> I have couple of questions about printing.
> First, how is all the printing stuff supposed to be used? Namely,
> how settings are going to be managed, what settings should be
> handled globally by gtk, and what should be handled by application?
> Is it going to be like in windows, where you use Page Setup to
> change settings in the given application, and click Printer Properties (?)
> button to get dialog to modify global settings? In other words,
> what do I do to get GtkPrintOperation object which is fully set
> up according to user preference?

This is application specific.  Basically you have a settings object
which can be sent to the dialog as a default.  We can also look at
making global settings but we haven't really though about it.  This is
perhaps better left to a layer above (like
gnome_get_default_printer_settings or something of that nature).

> Next, how to add your own settings? Say, gedit has its own
> home-made Page Setup dialog for header/footer, but now
> there is stock dialog? Will GtkPageSetupUnixDialog be extensible,
> and will windows dialog be exposed to allow customization?
There are extension points in our design.  Not sure if we added the
application tab yet.  Basically windows allows any number of tabs and
Mac allows one extra tab.  We have decided that one tab is enough (you
can add subtabs if you need but we hope you don't).  For windows and mac
we were looking at the feasibility of embedding gtk+.
John (J5) Palmieri <johnp redhat com>

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