1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD 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
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
18  */
19  
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 
25 module gtkc.glade;
26 
27 version(Tango)
28 	private import tango.stdc.stdio;
29 else
30 	private import std.stdio;
31 
32 private import gtkc.gladetypes;
33 private import gtkc.Loader;
34 private import gtkc.paths;
35 
36 mixin( _shared ~ "static this()
37 {
38 	// glade.Glade
39 
40 	Linker.link(glade_xml_new, \"glade_xml_new\", LIBRARY.GLADE);
41 	Linker.link(glade_xml_new_from_buffer, \"glade_xml_new_from_buffer\", LIBRARY.GLADE);
42 	Linker.link(glade_xml_construct, \"glade_xml_construct\", LIBRARY.GLADE);
43 	Linker.link(glade_xml_signal_connect, \"glade_xml_signal_connect\", LIBRARY.GLADE);
44 	Linker.link(glade_xml_signal_connect_data, \"glade_xml_signal_connect_data\", LIBRARY.GLADE);
45 	Linker.link(glade_xml_signal_autoconnect, \"glade_xml_signal_autoconnect\", LIBRARY.GLADE);
46 	Linker.link(glade_xml_get_widget, \"glade_xml_get_widget\", LIBRARY.GLADE);
47 	Linker.link(glade_xml_get_widget_prefix, \"glade_xml_get_widget_prefix\", LIBRARY.GLADE);
48 	Linker.link(glade_get_widget_name, \"glade_get_widget_name\", LIBRARY.GLADE);
49 	Linker.link(glade_get_widget_tree, \"glade_get_widget_tree\", LIBRARY.GLADE);
50 	Linker.link(glade_xml_signal_connect_full, \"glade_xml_signal_connect_full\", LIBRARY.GLADE);
51 	Linker.link(glade_xml_signal_autoconnect_full, \"glade_xml_signal_autoconnect_full\", LIBRARY.GLADE);
52 	Linker.link(glade_set_custom_handler, \"glade_set_custom_handler\", LIBRARY.GLADE);
53 	Linker.link(glade_init, \"glade_init\", LIBRARY.GLADE);
54 	Linker.link(glade_require, \"glade_require\", LIBRARY.GLADE);
55 	Linker.link(glade_provide, \"glade_provide\", LIBRARY.GLADE);
56 }");
57 
58 mixin( gshared ~"extern(C)
59 {
60 	// glade.Glade
61 
62 	GladeXML* function(char* fname, char* root, char* domain) c_glade_xml_new;
63 	GladeXML* function(char* buffer, int size, char* root, char* domain) c_glade_xml_new_from_buffer;
64 	gboolean function(GladeXML* self, char* fname, char* root, char* domain) c_glade_xml_construct;
65 	void function(GladeXML* self, char* handlername, GCallback func) c_glade_xml_signal_connect;
66 	void function(GladeXML* self, char* handlername, GCallback func, void* userData) c_glade_xml_signal_connect_data;
67 	void function(GladeXML* self) c_glade_xml_signal_autoconnect;
68 	GtkWidget* function(GladeXML* self, char* name) c_glade_xml_get_widget;
69 	GList* function(GladeXML* self, char* name) c_glade_xml_get_widget_prefix;
70 	char* function(GtkWidget* widget) c_glade_get_widget_name;
71 	GladeXML* function(GtkWidget* widget) c_glade_get_widget_tree;
72 	void function(GladeXML* self, gchar* handlerName, GladeXMLConnectFunc func, void* userData) c_glade_xml_signal_connect_full;
73 	void function(GladeXML* self, GladeXMLConnectFunc func, void* userData) c_glade_xml_signal_autoconnect_full;
74 	void function(GladeXMLCustomWidgetHandler handler, void* userData) c_glade_set_custom_handler;
75 	void function() c_glade_init;
76 	void function(gchar* library) c_glade_require;
77 	void function(gchar* library) c_glade_provide;
78 }");
79 
80 // glade.Glade
81 
82 alias c_glade_xml_new  glade_xml_new;
83 alias c_glade_xml_new_from_buffer  glade_xml_new_from_buffer;
84 alias c_glade_xml_construct  glade_xml_construct;
85 alias c_glade_xml_signal_connect  glade_xml_signal_connect;
86 alias c_glade_xml_signal_connect_data  glade_xml_signal_connect_data;
87 alias c_glade_xml_signal_autoconnect  glade_xml_signal_autoconnect;
88 alias c_glade_xml_get_widget  glade_xml_get_widget;
89 alias c_glade_xml_get_widget_prefix  glade_xml_get_widget_prefix;
90 alias c_glade_get_widget_name  glade_get_widget_name;
91 alias c_glade_get_widget_tree  glade_get_widget_tree;
92 alias c_glade_xml_signal_connect_full  glade_xml_signal_connect_full;
93 alias c_glade_xml_signal_autoconnect_full  glade_xml_signal_autoconnect_full;
94 alias c_glade_set_custom_handler  glade_set_custom_handler;
95 alias c_glade_init  glade_init;
96 alias c_glade_require  glade_require;
97 alias c_glade_provide  glade_provide;