Add exo-table
[stuffkeeper-musicbrainz.git] / src / exo-wrap-table.h
blobcb4e241fa67bf45db150ab0637de38926d7e3917
1 /* $Id: exo-wrap-table.h 18995 2005-12-05 16:46:54Z benny $ */
2 /*-
3 * Copyright (c) 2000 Ramiro Estrugo <ramiro@eazel.com>
4 * Copyright (c) 2005 Benedikt Meurer <benny@xfce.org>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
22 #ifndef __EXO_WRAP_TABLE_H__
23 #define __EXO_WRAP_TABLE_H__
25 #include <gtk/gtk.h>
27 G_BEGIN_DECLS;
29 typedef struct _ExoWrapTablePrivate ExoWrapTablePrivate;
30 typedef struct _ExoWrapTableClass ExoWrapTableClass;
31 typedef struct _ExoWrapTable ExoWrapTable;
33 #define EXO_TYPE_WRAP_TABLE (exo_wrap_table_get_type ())
34 #define EXO_WRAP_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXO_TYPE_WRAP_TABLE, ExoWrapTable))
35 #define EXO_WRAP_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EXO_TYPE_WRAP_TABLE, ExoWrapTableClass))
36 #define EXO_IS_WRAP_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EXO_TYPE_WRAP_TABLE))
37 #define EXO_IS_WRAP_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EXO_TYPE_WRAP_TABLE))
38 #define EXO_WRAP_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EXO_TYPE_WRAP_TABLE, ExoWrapTableClass))
40 struct _ExoWrapTableClass
42 /*< private >*/
43 GtkContainerClass __parent__;
45 /* padding for further expansion */
46 void (*reserved1) (void);
47 void (*reserved2) (void);
48 void (*reserved3) (void);
49 void (*reserved4) (void);
52 struct _ExoWrapTable
54 /*< private >*/
55 GtkContainer __parent__;
56 ExoWrapTablePrivate *priv;
59 GType exo_wrap_table_get_type (void) G_GNUC_CONST;
61 GtkWidget *exo_wrap_table_new (gboolean homogeneous) G_GNUC_MALLOC;
63 guint exo_wrap_table_get_col_spacing (const ExoWrapTable *table);
64 void exo_wrap_table_set_col_spacing (ExoWrapTable *table,
65 guint col_spacing);
67 guint exo_wrap_table_get_row_spacing (const ExoWrapTable *table);
68 void exo_wrap_table_set_row_spacing (ExoWrapTable *table,
69 guint row_spacing);
71 gboolean exo_wrap_table_get_homogeneous (const ExoWrapTable *table);
72 void exo_wrap_table_set_homogeneous (ExoWrapTable *table,
73 gboolean homogeneous);
75 G_END_DECLS;
77 #endif /* !__EXO_WRAP_TABLE_H__ */