Re: Gtk Printing and gtk_dialog_run



On Wed, 2006-04-19 at 09:42 -0400, Matthias Clasen wrote:
> On 4/19/06, Christian Persch <chpe gnome org> wrote:
> > Hi,
> >
> > > I could add a gtk_print_operation_run_async() call that shows the dialog
> > > and then returns to the main mainloop, using signals to drive the dialog
> > > etc. However, even that should really call gtk_window_set_modal on the
> > > print dialog to make it modal to the GtkWindowGroup of that window, so
> > > I'm not sure how much of a difference this makes.
> >
> > Making the dialogue modal to the parent window is ok for me. The
> > difference with _run_async is that it doesn't require a recursive
> > mainloop :) In Epiphany, printing can be called from mozilla code, where
> > I really don't want to run a recursive mainloop (this blocks networking
> > and has several other problems). So a totally async API for print
> > dialogue and job would be very appreciated.
> >
> 
> Its probably not possible to do that on win32, though, so this run_async
> could not be part of the high-level portable api. Or am I wrong, Alex ?

I'm pretty sure we can make it sync on win32, but still use the same API
so apps will continue working on win32.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a suave vegetarian dog-catcher on the hunt for the last specimen of a 
great and near-mythical creature. She's a provocative red-headed stripper in 
the witness protection program. They fight crime! 




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