[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-devel
Subject:    Re: Highlevel printing API - proposal
From:       Alexander Larsson <alexl () redhat ! com>
Date:       2006-01-26 10:19:53
Message-ID: 1138270793.32444.57.camel () greebo
[Download RAW message or body]

On Wed, 2006-01-25 at 22:15 +0100, Petr Tomasek wrote:
> > The basic idea is that each time you want to print (i.e. when the user
> > selects File->Print) you create a new GtkPrintOperation, set various
> > information on it like:
> > * default page settings (size, orientation etc)
> 
> The default paper size should definitely be determined
> by locale, otherwise most applications will force us europeans
> to us this Us-shit(TM) instead of the standard A4 paper size...

If you actually look at the current code you'd see it defaults to A4 at
the moment. TAKE THAT USA! :)

On a more serious note, "default page settings" doesn't mean what you
think it does. Its the default page settings used for each page in the
print operation unless you override it on a per-page basis by handling
the "request_page_settings" signal.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl@redhat.com    alla@lysator.liu.se 
He's a war-weary drug-addicted farmboy on the edge. She's a bloodthirsty 
winged mechanic with a knack for trouble. They fight crime! 

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic