2 * Copyright (C) 2006-2007 Async Open Source,
3 * Johan Dahlin <jdahlin@async.com.br>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef __GTK_BUILDER_PRIVATE_H__
22 #define __GTK_BUILDER_PRIVATE_H__
24 #include <glib/gmarkup.h>
25 #include <glib/gslist.h>
27 #include <glib-object.h>
28 #include "gtkbuilder.h"
51 GSList *packing_properties;
55 gchar *internal_child;
63 gboolean translatable;
72 gchar *connect_object_name;
76 GMarkupParser *parser;
85 const gchar *last_element;
90 GMarkupParseContext *ctx;
91 const gchar *filename;
93 GSList *custom_finalizers;
96 typedef GType (*GTypeGetFunc) (void);
98 void _gtk_builder_parser_parse_buffer (GtkBuilder *builder,
99 const gchar *filename,
103 GObject * _gtk_builder_construct (GtkBuilder *builder,
105 void _gtk_builder_add (GtkBuilder *builder,
106 ChildInfo *child_info);
107 void _gtk_builder_finish (GtkBuilder *builder);
108 void _free_signal_info (SignalInfo *info,
110 gboolean _gtk_builder_boolean_from_string (const gchar *string,
113 gboolean _gtk_builder_flags_from_string (GType type,
118 #endif /* __GTK_BUILDER_PRIVATE_H__ */