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;
64 gboolean translatable;
74 gchar *connect_object_name;
78 GMarkupParser *parser;
87 const gchar *last_element;
92 GMarkupParseContext *ctx;
93 const gchar *filename;
95 GSList *custom_finalizers;
98 typedef GType (*GTypeGetFunc) (void);
100 /* Things only GtkBuilder should use */
101 void _gtk_builder_parser_parse_buffer (GtkBuilder *builder,
102 const gchar *filename,
106 GObject * _gtk_builder_construct (GtkBuilder *builder,
109 void _gtk_builder_add (GtkBuilder *builder,
110 ChildInfo *child_info);
111 void _gtk_builder_add_signals (GtkBuilder *builder,
113 void _gtk_builder_finish (GtkBuilder *builder);
114 void _free_signal_info (SignalInfo *info,
117 /* Internal API which might be made public at some point */
118 gboolean _gtk_builder_boolean_from_string (const gchar *string,
121 gboolean _gtk_builder_flags_from_string (GType type,
125 gchar * _gtk_builder_parser_translate (const gchar *domain,
126 const gchar *context,
129 #endif /* __GTK_BUILDER_PRIVATE_H__ */