]> Pileus Git - ~andy/gtk/blob - gtk/gtkprinter-private.h
put the newly selected row(s) the in the middle of the view,
[~andy/gtk] / gtk / gtkprinter-private.h
1 /* GTK - The GIMP Toolkit
2  * gtkprintoperation.h: Print Operation
3  * Copyright (C) 2006, Red Hat, Inc.
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20
21 #ifndef __GTK_PRINTER_PRIVATE_H__
22 #define __GTK_PRINTER_PRIVATE_H__
23
24 #include <glib.h>
25 #include "gtkprinter.h"
26 #include "gtkprintoperation.h"
27 #include "gtkprinteroptionset.h"
28 #include "gtkpagesetup.h"
29 #include "gtkprintjob.h"
30
31 G_BEGIN_DECLS
32
33 gboolean             _gtk_printer_has_details               (GtkPrinter          *printer);
34 void                 _gtk_printer_request_details           (GtkPrinter          *printer);
35 GtkPrinterOptionSet *_gtk_printer_get_options               (GtkPrinter          *printer,
36                                                              GtkPrintSettings    *settings,
37                                                              GtkPageSetup        *page_setup);
38 gboolean             _gtk_printer_mark_conflicts            (GtkPrinter          *printer,
39                                                              GtkPrinterOptionSet *options);
40 void                 _gtk_printer_get_settings_from_options (GtkPrinter          *printer,
41                                                              GtkPrinterOptionSet *options,
42                                                              GtkPrintSettings    *settings);
43 void                 _gtk_printer_prepare_for_print         (GtkPrinter          *printer,
44                                                              GtkPrintJob         *print_job,
45                                                              GtkPrintSettings    *settings,
46                                                              GtkPageSetup        *page_setup);
47 cairo_surface_t *    _gtk_printer_create_cairo_surface      (GtkPrinter          *printer,
48                                                              gdouble              width,
49                                                              gdouble              height,
50                                                              gint                 cache_fd);
51 GList  *             _gtk_printer_list_papers               (GtkPrinter          *printer);
52 void                 _gtk_printer_get_hard_margins          (GtkPrinter          *printer,
53                                                              gdouble             *top,
54                                                              gdouble             *bottom,
55                                                              gdouble             *left,
56                                                              gdouble             *right);
57 GHashTable *         _gtk_printer_get_custom_widgets        (GtkPrinter          *printer);
58
59
60 /* GtkPrintJob private methods: */
61 void gtk_print_job_set_status (GtkPrintJob   *job,
62                                GtkPrintStatus status);
63
64 G_END_DECLS
65 #endif /* __GTK_PRINT_OPERATION_PRIVATE_H__ */