Sorting artist <-> album
[gmpc-albumview.git] / src / exo-wrap-table.h
blob9013d222c97cf8f02ea57e462de785eb4fd5b15f
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.
23 #ifndef __EXO_WRAP_TABLE_H__
24 #define __EXO_WRAP_TABLE_H__
26 #include <gtk/gtk.h>
28 G_BEGIN_DECLS;
30 typedef struct _ExoWrapTablePrivate ExoWrapTablePrivate;
31 typedef struct _ExoWrapTableClass ExoWrapTableClass;
32 typedef struct _ExoWrapTable ExoWrapTable;
34 #define EXO_TYPE_WRAP_TABLE (exo_wrap_table_get_type ())
35 #define EXO_WRAP_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXO_TYPE_WRAP_TABLE, ExoWrapTable))
36 #define EXO_WRAP_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EXO_TYPE_WRAP_TABLE, ExoWrapTableClass))
37 #define EXO_IS_WRAP_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EXO_TYPE_WRAP_TABLE))
38 #define EXO_IS_WRAP_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EXO_TYPE_WRAP_TABLE))
39 #define EXO_WRAP_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EXO_TYPE_WRAP_TABLE, ExoWrapTableClass))
41 struct _ExoWrapTableClass
43 /*< private >*/
44 GtkContainerClass __parent__;
46 /* padding for further expansion */
47 void (*reserved1) (void);
48 void (*reserved2) (void);
49 void (*reserved3) (void);
50 void (*reserved4) (void);
53 struct _ExoWrapTable
55 /*< private >*/
56 GtkContainer __parent__;
57 ExoWrapTablePrivate *priv;
60 GType exo_wrap_table_get_type (void) G_GNUC_CONST;
62 GtkWidget *exo_wrap_table_new (gboolean homogeneous) G_GNUC_MALLOC;
64 guint exo_wrap_table_get_col_spacing (const ExoWrapTable *table);
65 void exo_wrap_table_set_col_spacing (ExoWrapTable *table,
66 guint col_spacing);
68 guint exo_wrap_table_get_row_spacing (const ExoWrapTable *table);
69 void exo_wrap_table_set_row_spacing (ExoWrapTable *table,
70 guint row_spacing);
72 gboolean exo_wrap_table_get_homogeneous (const ExoWrapTable *table);
73 void exo_wrap_table_set_homogeneous (ExoWrapTable *table,
74 gboolean homogeneous);
76 G_END_DECLS;
78 #endif /* !__EXO_WRAP_TABLE_H__ */