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 module gtkc.gladetypes;
25 
26 
27 public import gtkc.glibtypes;
28 public import gtkc.gobjecttypes;
29 public import gtkc.gdktypes;
30 public import gtkc.gtktypes;
31 
32 // hacks as we ignore all connect stuff at present..
33 alias void* GladeXMLConnectFunc;
34 alias void* GladeXMLCustomWidgetHandler;
35 
36 
37 
38 
39 /**
40  * Main Gtk struct.
41  */
42 public struct GladeXML
43 {
44 	GObject parent;
45 	char *filename;
46 }
47 
48 
49 public struct GladeXMLClass
50 {
51 	GObjectClass parentClass;
52 	/+* Virtual function: gets the appropriate gtype for the typename.+/
53 	extern(C) GType function(GladeXML*self, char *gtypename)  lookupType;
54 }
55 
56 
57 /*
58  * This is the signature of a function used to connect signals. It is used
59  * by the glade_xml_signal_connect_full and glade_xml_signal_autoconnect_full
60  * functions. It is mainly intented for interpreted language bindings, but
61  * could be useful where the programmer wants more control over the signal
62  * connection process.
63  * handler_name:
64  *  the name of the handler function to connect.
65  * object:
66  *  the object to connect the signal to.
67  * signal_name:
68  *  the name of the signal.
69  * signal_data:
70  *  the string value of the signal data given in the XML file.
71  * connect_object:
72  *  non NULL if g_signal_connect_object should be used.
73  * after:
74  *  TRUE if the connection should be made with g_signal_connect_after.
75  * user_data:
76  *  the user data argument.
77  */
78 // void (*GladeXMLConnectFunc) (const gchar *handler_name,  GObject *object,  const gchar *signal_name,  const gchar *signal_data,  GObject *connect_object,  gboolean after,  gpointer user_data);
79 
80 /*
81  * This prototype is for a function that creates custom widgets.
82  * xml:
83  *  the GladeXML object.
84  * func_name:
85  *  the function name.
86  * name:
87  *  the name of the widget to be created.
88  * string1:
89  *  the string1 property.
90  * string2:
91  *  the string2 property.
92  * int1:
93  *  the int1 property.
94  * int2:
95  *  the int2 property.
96  * user_data:
97  *  the data passed to glade_set_custom_handler()
98  * Returns:
99  *  the GtkWidget.
100  */
101 // GtkWidget* (*GladeXMLCustomWidgetHandler) (GladeXML *xml,  gchar *func_name,  gchar *name,  gchar *string1,  gchar *string2,  gint int1,  gint int2,  gpointer user_data);