alternative to assert
[gtkD.git] / gtkD / src / gtkc / gladetypes.d
blobdfed60011466b589d695e1575bc2de3e0aa4180c
1 /*
2 * This file is part of gtkD.
4 * gtkD is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation; either version 2.1 of the License, or
7 * (at your option) any later version.
9 * gtkD is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with gtkD; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 // generated automatically - do not change
20 // find conversion definition on APILookup.txt
21 // implement new conversion functionalities on the wrap.utils pakage
23 module gtkc.gladetypes;
26 public import gtkc.glibtypes;
27 public import gtkc.gobjecttypes;
28 public import gtkc.gdktypes;
29 public import gtkc.gtktypes;
31 // hacks as we ignore all connect stuff at present..
32 alias void* GladeXMLConnectFunc;
33 alias void* GladeXMLCustomWidgetHandler;
38 /**
39 * Main Gtk struct.
41 public struct GladeXML{}
42 // GObject parent;
43 // GladeXML.html
44 // char *filename;
45 // GladeXML.html
48 public struct GladeXMLClass{}
49 // GObjectClass parentClass;
50 // GladeXML.html
51 // /+* Virtual function: gets the appropriate gtype for the typename.+/
52 // GladeXML.html
53 // GType (* lookupType) (GladeXML*self, char *gtypename);
54 // GladeXML.html
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.
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);
82 * This prototype is for a function that creates custom widgets.
83 * xml:
84 * the GladeXML object.
85 * func_name:
86 * the function name.
87 * name:
88 * the name of the widget to be created.
89 * string1:
90 * the string1 property.
91 * string2:
92 * the string2 property.
93 * int1:
94 * the int1 property.
95 * int2:
96 * the int2 property.
97 * user_data:
98 * the data passed to glade_set_custom_handler()
99 * Returns:
100 * the GtkWidget.
102 // GtkWidget* (*GladeXMLCustomWidgetHandler) (GladeXML *xml, gchar *func_name, gchar *name, gchar *string1, gchar *string2, gint int1, gint int2, gpointer user_data);