source: trunk/third/libgnomeprintui/libgnomeprintui/gnome-print-paper-selector.h @ 18604

Revision 18604, 2.3 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18603, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
3#ifndef __GNOME_PRINT_PAPER_SELECTOR_H__
4#define __GNOME_PRINT_PAPER_SELECTOR_H__
5
6/*
7 *  gnome-print-paper-selector.h: Paper preview Canvas item
8 *
9 *  This program is free software; you can redistribute it and/or
10 *  modify it under the terms of the GNU Library General Public License
11 *  as published by the Free Software Foundation; either version 2 of
12 *  the License, or (at your option) any later version.
13 *
14 *  This program is distributed in the hope that it will be useful,
15 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 *  GNU Library General Public License for more details.
18 *
19 *  You should have received a copy of the GNU Library General Public
20 *  License along with this program; if not, write to the Free Software
21 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 *
23 *  Authors:
24 *    James Henstridge <james@daa.com.au>
25 *
26 *  Copyright (C) 1998 James Henstridge <james@daa.com.au>
27 *
28 */
29
30#include <glib.h>
31
32G_BEGIN_DECLS
33
34#define GNOME_TYPE_PAPER_SELECTOR         (gnome_paper_selector_get_type ())
35#define GNOME_PAPER_SELECTOR(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), GNOME_TYPE_PAPER_SELECTOR, GnomePaperSelector))
36#define GNOME_PAPER_SELECTOR_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST    ((k), GNOME_TYPE_PAPER_SELECTOR, GnomePaperSelectorClass))
37#define GNOME_IS_PAPER_SELECTOR(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNOME_TYPE_PAPER_SELECTOR))
38#define GNOME_IS_PAPER_SELECTOR_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE    ((k), GNOME_TYPE_PAPER_SELECTOR))
39#define GNOME_PAPER_SELECTOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS  ((o), GNOME_TYPE_PAPER_SELECTOR, GnomePaperSelectorClass))
40
41typedef struct _GnomePaperSelector      GnomePaperSelector;
42typedef struct _GnomePaperSelectorClass GnomePaperSelectorClass;
43
44#include <glib-object.h>
45#include <libgnomeprint/gnome-print-config.h>
46
47enum GnomePaperSelectorFlags {
48        GNOME_PAPER_SELECTOR_MARGINS = (1 << 0),
49        GNOME_PAPER_SELECTOR_FEED_ORIENTATION = (1 << 1)
50};
51
52GType       gnome_paper_selector_get_type (void);
53GtkWidget * gnome_paper_selector_new (GnomePrintConfig *config);
54GtkWidget * gnome_paper_selector_new_with_flags (GnomePrintConfig *config, gint flags);
55
56G_END_DECLS
57
58#endif  /* __GNOME_PRINT_PAPER_SELECTOR_H__ */
59
Note: See TracBrowser for help on using the repository browser.