source: trunk/third/gtkhtml/src/gtkhtml-propmanager.h @ 18136

Revision 18136, 2.6 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18135, 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/* This file is part of the GtkHTML library
3
4   Copyright (C) 2002 Ximian Inc.
5   Authors:           Larry Ewing <lewing@ximian.com>
6
7   This library is free software; you can redistribute it and/or
8   modify it under the terms of the GNU Library General Public
9   License as published by the Free Software Foundation; either
10   version 2 of the License, or (at your option) any later version.
11
12   This library is distributed in the hope that it will be useful,
13   but WITHOUT ANY WARRANTY; without even the implied warranty of
14   MERCHcANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15   Library General Public License for more details.
16
17   You should have received a copy of the GNU Library General Public License
18   along with this library; see the file COPYING.LIB.  If not, write to
19   the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20   Boston, MA 02111-1307, USA.
21*/
22#ifndef __GTK_HTML_PROPMANAGER_H__
23#define __GTK_HTML_PROPMANAGER_H__
24
25#include <gtk/gtkobject.h>
26#include <gconf/gconf-client.h>
27#include <glade/glade.h>
28#include "gtkhtml-properties.h"
29
30#define GTK_TYPE_HTML_PROPMANAGER                (gtk_html_propmanager_get_type ())
31#define GTK_HTML_PROPMANAGER(w)                  (GTK_CHECK_CAST ((w), GTK_TYPE_HTML_PROPMANAGER, GtkHTMLPropmanager))
32#define GTK_HTML_PROPMANAGER_CLASS(klass)        (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_HTML_PROPMANAGER, GtkHTMLPropmanagerClass))
33
34#define GTK_IS_HTML_PROPMANAGER(w)               (GTK_CHECK_TYPE ((w), GTK_TYPE_HTML_PROPMANAGER))
35
36typedef struct _GtkHTMLPropmanagerPrivate GtkHTMLPropmanagerPrivate;
37typedef struct _GtkHTMLPropmanagerClass GtkHTMLPropmanagerClass;
38typedef struct _GtkHTMLPropmanager GtkHTMLPropmanager;
39
40struct _GtkHTMLPropmanager {
41        GtkObject object;
42
43        GtkHTMLPropmanagerPrivate *priv;
44        GConfClient *client;
45};
46
47struct _GtkHTMLPropmanagerClass {
48        GtkObjectClass parent_class;
49       
50        void (*changed)(GtkHTMLPropmanager *);
51};
52
53GtkType          gtk_html_propmanager_get_type (void);
54GtkObject *      gtk_html_propmanager_new (GConfClient *client);
55gboolean         gtk_html_propmanager_set_gui (GtkHTMLPropmanager *pman, GladeXML *xml, GHashTable *nametable);
56void             gtk_html_propmanager_apply (GtkHTMLPropmanager *pman);
57void             gtk_html_propmanager_reset (GtkHTMLPropmanager *pman);
58
59void             gtk_html_propmanager_set_names (GtkHTMLPropmanager *pman, char *names[][2]);
60void             gtk_html_propmanager_set_nametable (GtkHTMLPropmanager *pman, GHashTable *table);
61#endif /* __GTK_HTML_PROPMANAGER_H__ */
62
63
64
Note: See TracBrowser for help on using the repository browser.