PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/gtk+-3.5.8/gtk/gtkpagesetupunixdialog.h

#
C Header | 71 lines | 40 code | 14 blank | 17 comment | 1 complexity | 0bd5b435e8a2c6528bcee8d5743364b3 MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-3.0, LGPL-2.1
  1. /* GtkPageSetupUnixDialog
  2. * Copyright (C) 2006 Alexander Larsson <alexl@redhat.com>
  3. *
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2 of the License, or (at your option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #if !defined (__GTK_UNIX_PRINT_H_INSIDE__) && !defined (GTK_COMPILATION)
  18. #error "Only <gtk/gtkunixprint.h> can be included directly."
  19. #endif
  20. #ifndef __GTK_PAGE_SETUP_UNIX_DIALOG_H__
  21. #define __GTK_PAGE_SETUP_UNIX_DIALOG_H__
  22. #include <gtk/gtk.h>
  23. G_BEGIN_DECLS
  24. #define GTK_TYPE_PAGE_SETUP_UNIX_DIALOG (gtk_page_setup_unix_dialog_get_type ())
  25. #define GTK_PAGE_SETUP_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PAGE_SETUP_UNIX_DIALOG, GtkPageSetupUnixDialog))
  26. #define GTK_PAGE_SETUP_UNIX_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PAGE_SETUP_UNIX_DIALOG, GtkPageSetupUnixDialogClass))
  27. #define GTK_IS_PAGE_SETUP_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PAGE_SETUP_UNIX_DIALOG))
  28. #define GTK_IS_PAGE_SETUP_UNIX_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PAGE_SETUP_UNIX_DIALOG))
  29. #define GTK_PAGE_SETUP_UNIX_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PAGE_SETUP_UNIX_DIALOG, GtkPageSetupUnixDialogClass))
  30. typedef struct _GtkPageSetupUnixDialog GtkPageSetupUnixDialog;
  31. typedef struct _GtkPageSetupUnixDialogClass GtkPageSetupUnixDialogClass;
  32. typedef struct _GtkPageSetupUnixDialogPrivate GtkPageSetupUnixDialogPrivate;
  33. struct _GtkPageSetupUnixDialog
  34. {
  35. GtkDialog parent_instance;
  36. GtkPageSetupUnixDialogPrivate *priv;
  37. };
  38. struct _GtkPageSetupUnixDialogClass
  39. {
  40. GtkDialogClass parent_class;
  41. /* Padding for future expansion */
  42. void (*_gtk_reserved1) (void);
  43. void (*_gtk_reserved2) (void);
  44. void (*_gtk_reserved3) (void);
  45. void (*_gtk_reserved4) (void);
  46. };
  47. GType gtk_page_setup_unix_dialog_get_type (void) G_GNUC_CONST;
  48. GtkWidget * gtk_page_setup_unix_dialog_new (const gchar *title,
  49. GtkWindow *parent);
  50. void gtk_page_setup_unix_dialog_set_page_setup (GtkPageSetupUnixDialog *dialog,
  51. GtkPageSetup *page_setup);
  52. GtkPageSetup * gtk_page_setup_unix_dialog_get_page_setup (GtkPageSetupUnixDialog *dialog);
  53. void gtk_page_setup_unix_dialog_set_print_settings (GtkPageSetupUnixDialog *dialog,
  54. GtkPrintSettings *print_settings);
  55. GtkPrintSettings *gtk_page_setup_unix_dialog_get_print_settings (GtkPageSetupUnixDialog *dialog);
  56. G_END_DECLS
  57. #endif /* __GTK_PAGE_SETUP_UNIX_DIALOG_H__ */