blob: 06a009024a51d1dae42d0a645c2d87011ae50ea7 (
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
36
37
38
39
40
41
42
43
|
#ifndef __GLADE_STRING_LIST_H__
#define __GLADE_STRING_LIST_H__
#include <glib-object.h>
#include <gladeui/glade.h>
G_BEGIN_DECLS
#define GLADE_TYPE_EPROP_STRING_LIST (glade_eprop_string_list_get_type())
#define GLADE_TYPE_STRING_LIST (glade_string_list_get_type())
/* The GladeStringList boxed type is a GList * of GladeString structs */
typedef struct _GladeString GladeString;
struct _GladeString {
gchar *string;
gchar *comment;
gchar *context;
gboolean translatable;
};
GType glade_eprop_string_list_get_type (void) G_GNUC_CONST;
GType glade_string_list_get_type (void) G_GNUC_CONST;
void glade_string_list_free (GList *list);
GList *glade_string_list_copy (GList *list);
GList *glade_string_list_append (GList *list,
gchar *string,
gchar *comment,
gchar *context,
gboolean translatable);
gchar *glade_string_list_to_string (GList *list);
GladeEditorProperty *glade_eprop_string_list_new (GladePropertyClass *pclass,
gboolean use_command,
gboolean translatable);
G_END_DECLS
#endif /* __GLADE_STRING_LIST_H__ */
|