blob: 44a4cb25c5d1d6777c28f60b8b0f935451b3be26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef __GLADE_CATALOG_H__
#define __GLADE_CATALOG_H__
G_BEGIN_DECLS
#define GLADE_CATALOG(c) ((GladeCatalog *) c)
#define GLADE_IS_CATALOG(c) (c != NULL)
/* The GladeCatalog is list of widgets classes. We are going to use
* a different catalog for each group of widgets like gtk-base,
* gnome, gnome-db etc. It is also used to group widgets in the
* palette.
*/
struct _GladeCatalog
{
gchar *title; /* Title for this catalog */
GList *widget_classes; /* list of widget classes contained on this catalog */
};
void glade_catalog_delete (GladeCatalog *catalog);
GList *glade_catalog_load_all (void);
const char *glade_catalog_get_title (GladeCatalog *catalog);
GList *glade_catalog_get_widget_classes (GladeCatalog *catalog);
G_END_DECLS
#endif /* __GLADE_CATALOG_H__ */
|