1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
4 * (GLABELS) Label and Business Card Creation program for GNOME
6 * new-label-dialog.h: New label dialog module header file
8 * Copyright (C) 2006 Jim Evins <evins@snaught.com>.
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #ifndef __NEW_LABEL_DIALOG_H__
25 #define __NEW_LABEL_DIALOG_H__
27 #include <gtk/gtkwindow.h>
28 #include <gtk/gtkdialog.h>
32 #define GL_TYPE_NEW_LABEL_DIALOG (gl_new_label_dialog_get_type ())
33 #define GL_NEW_LABEL_DIALOG(obj) \
34 (G_TYPE_CHECK_INSTANCE_CAST ((obj), GL_TYPE_NEW_LABEL_DIALOG, glNewLabelDialog))
35 #define GL_NEW_LABEL_DIALOG_CLASS(klass) \
36 (G_TYPE_CHECK_CLASS_CAST ((klass), GL_TYPE_NEW_LABEL_DIALOG, glNewLabelDialogClass))
37 #define GL_IS_NEW_LABEL_DIALOG(obj) \
38 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GL_TYPE_NEW_LABEL_DIALOG))
39 #define GL_IS_NEW_LABEL_DIALOG_CLASS(klass) \
40 (G_TYPE_CHECK_CLASS_TYPE ((klass), GL_TYPE_NEW_LABEL_DIALOG))
41 #define GL_NEW_LABEL_DIALOG_GET_CLASS(obj) \
42 (G_TYPE_CHECK_GET_CLASS ((obj), GL_TYPE_NEW_LABEL_DIALOG, glNewLabelDialogClass))
45 typedef struct _glNewLabelDialog glNewLabelDialog;
46 typedef struct _glNewLabelDialogClass glNewLabelDialogClass;
48 typedef struct _glNewLabelDialogPrivate glNewLabelDialogPrivate;
50 struct _glNewLabelDialog
52 GtkDialog parent_instance;
54 glNewLabelDialogPrivate *priv;
58 struct _glNewLabelDialogClass
60 GtkDialogClass parent_class;
64 GType gl_new_label_dialog_get_type (void) G_GNUC_CONST;
66 GtkWidget *gl_new_label_dialog_new (GtkWindow *win);
68 gchar *gl_new_label_dialog_get_template_name (glNewLabelDialog *dialog);
70 void gl_new_label_dialog_set_template_name (glNewLabelDialog *dialog,
73 void gl_new_label_dialog_get_filter_parameters (glNewLabelDialog *dialog,
77 void gl_new_label_dialog_set_filter_parameters (glNewLabelDialog *dialog,
78 const gchar *page_size_id,
79 const gchar *category_id);
81 gboolean gl_new_label_dialog_get_rotate_state (glNewLabelDialog *dialog);
83 void gl_new_label_dialog_set_rotate_state (glNewLabelDialog *dialog,