annotate dwt/internal/gtk/c/gobjecttypes.d @ 11:5f725d09c076

Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
author John Reimer<terminal.node@gmail.com>
date Sat, 05 Jan 2008 15:13:44 -0800
parents
children 758bbbe4b86a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2 * This file is part of gtkD.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3 *
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
4 * gtkD is free software; you can redistribute it and/or modify
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
5 * it under the terms of the GNU Lesser General Public License as published by
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
6 * the Free Software Foundation; either version 2.1 of the License, or
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
7 * (at your option) any later version.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
8 *
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
9 * gtkD is distributed in the hope that it will be useful,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
12 * GNU Lesser General Public License for more details.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
13 *
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
14 * You should have received a copy of the GNU Lesser General Public License
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
15 * along with gtkD; if not, write to the Free Software
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
17 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
18
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
19 // generated automatically - do not change
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
20 // find conversion definition on APILookup.txt
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
21 // implement new conversion functionalities on the wrap.utils pakage
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
22
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
23 module dwt.internal.gtk.c.gobjecttypes;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
24
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
25 public import dwt.internal.gtk.c.glibtypes;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
26
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
27 /******************************************************************************
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
28
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
29 ******************************************************************************/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
30
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
31 // G_TYPE_*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
32 enum GType
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
33 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
34 INVALID = 0<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
35 NONE = 1<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
36 INTERFACE = 2<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
37 CHAR = 3<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
38 UCHAR = 4<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
39 BOOLEAN = 5<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
40 INT = 6<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
41 UINT = 7<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
42 LONG = 8<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
43 ULONG = 9<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
44 INT64 = 10<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
45 UINT64 = 11<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
46 ENUM = 12<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
47 FLAGS = 13<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
48 FLOAT = 14<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
49 DOUBLE = 15<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
50 STRING = 16<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
51 POINTER = 17<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
52 BOXED = 18<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
53 PARAM = 19<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
54 OBJECT = 20<<2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
55
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
56 }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
57
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
58
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
59 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
60 * typedef gchar** GStrv;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
61 * A C representable type name for G_TYPE_STRV.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
62 * See Also
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
63 * GParamSpecBoxed, g_param_spec_boxed()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
64 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
65 public alias char** GStrv;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
66
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
67 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
68 * typedef gchar* gchararray;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
69 * A C representable type name for G_TYPE_STRING.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
70 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
71 public alias char* gchararray;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
72
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
73 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
74 * typedef GClosureMarshal GSignalCMarshaller;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
75 * This is the signature of marshaller functions, required to marshall
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
76 * arrays of parameter values to signal emissions into C language callback
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
77 * invocations. It is merely an alias to GClosureMarshal since the GClosure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
78 * mechanism takes over responsibility of actual function invocation for the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
79 * signal system.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
80 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
81 public alias GClosureMarshal GSignalCMarshaller;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
82 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
83 * The GTypeDebugFlags enumeration values can be passed to
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
84 * g_type_init_with_debug_flags() to trigger debugging messages during runtime.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
85 * Note that the messages can also be triggered by setting the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
86 * GOBJECT_DEBUG environment variable to a ':'-separated list of
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
87 * "objects" and "signals".
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
88 * G_TYPE_DEBUG_NONE
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
89 * Print no messages.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
90 * G_TYPE_DEBUG_OBJECTS
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
91 * Print messages about object bookkeeping.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
92 * G_TYPE_DEBUG_SIGNALS
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
93 * Print messages about signal emissions.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
94 * G_TYPE_DEBUG_MASK
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
95 * Mask covering all debug flags.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
96 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
97 public enum GTypeDebugFlags
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
98 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
99 NONE = 0,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
100 OBJECTS = 1 << 0,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
101 SIGNALS = 1 << 1,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
102 MASK = 0x03
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
103 }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
104 alias GTypeDebugFlags TypeDebugFlags;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
105
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
106 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
107 * Bit masks used to check or determine characteristics of a type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
108 * G_TYPE_FLAG_ABSTRACT
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
109 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
110 public enum GTypeFlags
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
111 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
112 ABSTRACT = (1 << 4),
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
113 VALUE_ABSTRACT = (1 << 5)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
114 }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
115 alias GTypeFlags TypeFlags;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
116
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
117 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
118 * Bit masks used to check or determine specific characteristics of a
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
119 * fundamental type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
120 * G_TYPE_FLAG_CLASSED
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
121 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
122 public enum GTypeFundamentalFlags
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
123 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
124 FLAG_CLASSED = (1 << 0),
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
125 FLAG_INSTANTIATABLE = (1 << 1),
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
126 FLAG_DERIVABLE = (1 << 2),
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
127 FLAG_DEEP_DERIVABLE = (1 << 3)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
128 }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
129 alias GTypeFundamentalFlags TypeFundamentalFlags;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
130
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
131 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
132 * Through the GParamFlags flag values, certain aspects of parameters
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
133 * can be configured.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
134 * G_PARAM_READABLE
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
135 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
136 public enum GParamFlags
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
137 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
138 READABLE = 1 << 0,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
139 WRITABLE = 1 << 1,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
140 CONSTRUCT = 1 << 2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
141 CONSTRUCT_ONLY = 1 << 3,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
142 LAX_VALIDATION = 1 << 4,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
143 STATIC_NAME = 1 << 5,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
144 PRIVATE = STATIC_NAME,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
145 STATIC_NICK = 1 << 6,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
146 STATIC_BLURB = 1 << 7
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
147 }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
148 alias GParamFlags ParamFlags;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
149
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
150 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
151 * The signal flags are used to specify a signal's behaviour, the overall
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
152 * signal description outlines how especially the RUN flags control the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
153 * stages of a signal emission.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
154 * G_SIGNAL_RUN_FIRST
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
155 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
156 public enum GSignalFlags
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
157 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
158 RUN_FIRST = 1 << 0,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
159 RUN_LAST = 1 << 1,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
160 RUN_CLEANUP = 1 << 2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
161 NO_RECURSE = 1 << 3,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
162 DETAILED = 1 << 4,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
163 ACTION = 1 << 5,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
164 NO_HOOKS = 1 << 6
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
165 }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
166 alias GSignalFlags SignalFlags;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
167
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
168 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
169 * The match types specify what g_signal_handlers_block_matched(),
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
170 * g_signal_handlers_unblock_matched() and g_signal_handlers_disconnect_matched()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
171 * match signals by.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
172 * G_SIGNAL_MATCH_ID
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
173 * The signal id must be equal.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
174 * G_SIGNAL_MATCH_DETAIL
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
175 * The signal detail be equal.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
176 * G_SIGNAL_MATCH_CLOSURE
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
177 * The closure must be the same.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
178 * G_SIGNAL_MATCH_FUNC
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
179 * The C closure callback must be the same.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
180 * G_SIGNAL_MATCH_DATA
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
181 * The closure data must be the same.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
182 * G_SIGNAL_MATCH_UNBLOCKED
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
183 * Only unblocked signals may matched.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
184 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
185 public enum GSignalMatchType
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
186 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
187 ID = 1 << 0,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
188 DETAIL = 1 << 1,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
189 CLOSURE = 1 << 2,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
190 FUNC = 1 << 3,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
191 DATA = 1 << 4,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
192 UNBLOCKED = 1 << 5
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
193 }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
194 alias GSignalMatchType SignalMatchType;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
195
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
196 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
197 * The connection flags are used to specify the behaviour of a signal's
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
198 * connection.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
199 * G_CONNECT_AFTER
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
200 * whether the handler should be called before or after the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
201 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
202 public enum GConnectFlags
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
203 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
204 AFTER = 1 << 0,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
205 SWAPPED = 1 << 1
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
206 }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
207 alias GConnectFlags ConnectFlags;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
208
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
209 struct GValue
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
210 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
211 align(4)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
212 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
213 GType g_type;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
214 union Data
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
215 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
216 gint v_int;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
217 guint v_uint;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
218 glong v_long;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
219 gulong v_ulong;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
220 gint64 v_int64;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
221 guint64 v_uint64;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
222 gfloat v_float;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
223 gdouble v_double;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
224 gpointer v_pointer;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
225 };
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
226 }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
227 Data data1;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
228 Data data2;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
229 };
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
230
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
231 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
232 * An opaque structure used as the base of all interface types.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
233 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
234 public struct GTypeInterface{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
235
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
236
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
237 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
238 * An opaque structure used as the base of all type instances.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
239 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
240 public struct GTypeInstance{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
241
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
242
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
243 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
244 * An opaque structure used as the base of all classes.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
245 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
246 public struct GTypeClass{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
247
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
248
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
249 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
250 * This structure is used to provide the type system with the information
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
251 * required to initialize and destruct (finalize) a type's class and
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
252 * its instances.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
253 * The initialized structure is passed to the g_type_register_static() function
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
254 * (or is copied into the provided GTypeInfo structure in the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
255 * g_type_plugin_complete_type_info()). The type system will perform a deep
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
256 * copy of this structure, so its memory does not need to be persistent
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
257 * across invocation of g_type_register_static().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
258 * guint16class_size;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
259 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
260 public struct GTypeInfo{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
261 // /+* interface types, classed types, instantiated types +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
262 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
263 // ushort classSize;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
264 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
265 // GBaseInitFunc baseInit;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
266 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
267 // GBaseFinalizeFunc baseFinalize;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
268 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
269 // /+* interface types, classed types, instantiated types +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
270 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
271 // GClassInitFunc classInit;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
272 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
273 // GClassFinalizeFunc classFinalize;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
274 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
275 // void* classData;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
276 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
277 // /+* instantiated types +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
278 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
279 // ushort instanceSize;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
280 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
281 // ushort nPreallocs;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
282 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
283 // GInstanceInitFunc instanceInit;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
284 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
285 // /+* value handling +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
286 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
287 // GTypeValueTable *valueTable;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
288 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
289
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
290
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
291 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
292 * A structure that provides information to the type system which is
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
293 * used specifically for managing fundamental types.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
294 * GTypeFundamentalFlagstype_flags;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
295 * GTypeFundamentalFlags describing the characteristics of the fundamental type
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
296 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
297 public struct GTypeFundamentalInfo{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
298 // GTypeFundamentalFlags typeFlags;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
299 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
300
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
301
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
302 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
303 * A structure that provides information to the type system which is
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
304 * used specifically for managing interface types.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
305 * GInterfaceInitFuncinterface_init;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
306 * location of the interface initialization function
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
307 * GInterfaceFinalizeFuncinterface_finalize;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
308 * location of the interface finalization function
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
309 * gpointerinterface_data;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
310 * user-supplied data passed to the interface init/finalize functions
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
311 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
312 public struct GInterfaceInfo{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
313 // GInterfaceInitFunc interfaceInit;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
314 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
315 // GInterfaceFinalizeFunc interfaceFinalize;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
316 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
317 // void* interfaceData;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
318 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
319
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
320
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
321 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
322 * The GTypeValueTable provides the functions required by the GValue implementation,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
323 * to serve as a container for values of a type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
324 * value_init()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
325 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
326 public struct GTypeValueTable{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
327 // void (*valueInit) (GValue *value);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
328 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
329 // void (*valueFree) (GValue *value);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
330 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
331 // void (*valueCopy) ( GValue *srcValue,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
332 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
333 // GValue *destValue);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
334 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
335 // /+* varargs functionality (optional) +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
336 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
337 // void* (*valuePeekPointer) ( GValue *value);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
338 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
339 // char *collectFormat;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
340 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
341 // char* (*collectValue) (GValue *value,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
342 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
343 // uint nCollectValues,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
344 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
345 // GTypeCValue *collectValues,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
346 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
347 // uint collectFlags);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
348 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
349 // char *lcopyFormat;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
350 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
351 // char* (*lcopyValue) ( GValue *value,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
352 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
353 // uint nCollectValues,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
354 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
355 // GTypeCValue *collectValues,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
356 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
357 // uint collectFlags);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
358 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
359
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
360
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
361 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
362 * A structure holding information for a specific type. It is
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
363 * filled in by the g_type_query() function.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
364 * GTypetype;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
365 * the GType value of the type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
366 * constgchar*type_name;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
367 * the name of the type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
368 * guintclass_size;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
369 * the size of the class structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
370 * guintinstance_size;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
371 * the size of the instance structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
372 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
373 public struct GTypeQuery{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
374 // GType type;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
375 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
376 // char *typeName;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
377 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
378 // uint classSize;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
379 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
380 // uint instanceSize;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
381 // gobject-Type-Information.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
382
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
383
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
384 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
385 * Main Gtk struct.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
386 * The GTypePlugin typedef is used as a placeholder
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
387 * for objects that implement the GTypePlugin
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
388 * interface.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
389 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
390 public struct GTypePlugin{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
391
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
392
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
393 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
394 * The GTypePlugin interface is used by the type system in order to handle
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
395 * the lifecycle of dynamically loaded types.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
396 * GTypePluginUseuse_plugin;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
397 * Increases the use count of the plugin.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
398 * GTypePluginUnuseunuse_plugin;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
399 * Decreases the use count of the plugin.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
400 * GTypePluginCompleteTypeInfocomplete_type_info;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
401 * Fills in the GTypeInfo and
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
402 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
403 public struct GTypePluginClass{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
404 // GTypePluginUse usePlugin;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
405 // GTypePlugin.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
406 // GTypePluginUnuse unusePlugin;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
407 // GTypePlugin.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
408 // GTypePluginCompleteTypeInfo completeTypeInfo;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
409 // GTypePlugin.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
410 // GTypePluginCompleteInterfaceInfo completeInterfaceInfo;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
411 // GTypePlugin.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
412
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
413
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
414 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
415 * Main Gtk struct.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
416 * The members of the GTypeModule structure should not
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
417 * be accessed directly, except for the name field.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
418 * gchar*name;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
419 * the name of the module
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
420 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
421 public struct GTypeModule
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
422 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
423 char *name;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
424 }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
425
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
426
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
427 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
428 * In order to implement dynamic loading of types based on GTypeModule,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
429 * the load and unload functions in GTypeModuleClass must be implemented.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
430 * GObjectClassparent_class;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
431 * the parent class
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
432 * load()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
433 * loads the module and registers one or more types using
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
434 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
435 public struct GTypeModuleClass{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
436 // GObjectClass parentClass;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
437 // GTypeModule.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
438 // int (* load) (GTypeModule *modul);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
439 // GTypeModule.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
440 // void (* unload) (GTypeModule *modul);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
441 // GTypeModule.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
442
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
443
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
444 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
445 * Main Gtk struct.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
446 * All the fields in the GObject structure are private
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
447 * to the GObject implementation and should never be accessed directly.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
448 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
449 public struct GObject{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
450
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
451
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
452 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
453 * The class structure for the GObject type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
454 * Example4.Implementing singletons using a constructor
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
455 * static MySingleton *the_singleton = NULL;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
456 * static GObject*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
457 * my_singleton_constructor (GType type,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
458 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
459 public struct GObjectClass{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
460 // GTypeClass gTypeClass;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
461 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
462 // /+* seldomly overidden +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
463 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
464 // GObject* (*constructor) (GType type,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
465 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
466 // uint nConstructProperties,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
467 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
468 // GObjectConstructParam *constructProperties);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
469 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
470 // /+* overridable methods +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
471 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
472 // void (*setProperty) (GObject *object,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
473 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
474 // uint propertyId,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
475 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
476 // GValue *value,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
477 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
478 // GParamSpec *pspec);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
479 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
480 // void (*getProperty) (GObject *object,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
481 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
482 // uint propertyId,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
483 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
484 // GValue *value,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
485 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
486 // GParamSpec *pspec);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
487 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
488 // void (*dispose) (GObject *object);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
489 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
490 // void (*finalize) (GObject *object);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
491 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
492 // /+* seldomly overidden +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
493 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
494 // void (*dispatchPropertiesChanged) (GObject *object,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
495 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
496 // uint nPspecs,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
497 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
498 // GParamSpec **pspecs);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
499 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
500 // /+* signals +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
501 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
502 // void (*notify) (GObject *object,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
503 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
504 // GParamSpec *pspec);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
505 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
506 // /+* called when done constructing +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
507 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
508 // void (*constructed) (GObject *object);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
509 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
510
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
511
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
512 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
513 * The GObjectConstructParam struct is an auxiliary
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
514 * structure used to hand GParamSpec/GValue pairs to the constructor of
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
515 * a GObjectClass.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
516 * GParamSpec*pspec;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
517 * the GParamSpec of the construct parameter
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
518 * GValue*value;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
519 * the value to set the parameter to
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
520 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
521 public struct GObjectConstructParam{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
522 // GParamSpec *pspec;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
523 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
524 // GValue *value;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
525 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
526
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
527
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
528 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
529 * The GParameter struct is an auxiliary structure used
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
530 * to hand parameter name/value pairs to g_object_newv().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
531 * constgchar*name;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
532 * the parameter name
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
533 * GValuevalue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
534 * the parameter value
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
535 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
536 public struct GParameter{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
537 // char *name;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
538 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
539 // GValue value;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
540 // gobject-The-Base-Object-Type.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
541
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
542
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
543 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
544 * All the fields in the GInitiallyUnowned structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
545 * are private to the GInitiallyUnowned implementation and should never be
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
546 * accessed directly.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
547 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
548 public struct GInitiallyUnowned{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
549
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
550
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
551 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
552 * The class structure for the GInitiallyUnowned type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
553 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
554 public struct GInitiallyUnownedClass{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
555
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
556
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
557 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
558 * The class of an enumeration type holds information about its
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
559 * possible values.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
560 * GTypeClassg_type_class;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
561 * the parent class
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
562 * gintminimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
563 * the smallest possible value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
564 * gintmaximum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
565 * the largest possible value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
566 * guintn_values;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
567 * the number of possible values.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
568 * GEnumValue*values;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
569 * an array of GEnumValue structs describing the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
570 * individual values.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
571 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
572 public struct GEnumClass{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
573 // GTypeClass gTypeClass;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
574 // gobject-Enumeration-and-Flag-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
575 // int minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
576 // gobject-Enumeration-and-Flag-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
577 // int maximum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
578 // gobject-Enumeration-and-Flag-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
579 // uint nValues;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
580 // gobject-Enumeration-and-Flag-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
581 // GEnumValue *values;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
582 // gobject-Enumeration-and-Flag-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
583
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
584
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
585 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
586 * The class of a flags type holds information about its
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
587 * possible values.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
588 * GTypeClassg_type_class;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
589 * the parent class
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
590 * guintmask;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
591 * a mask covering all possible values.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
592 * guintn_values;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
593 * the number of possible values.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
594 * GFlagsValue*values;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
595 * an array of GFlagsValue structs describing the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
596 * individual values.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
597 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
598 public struct GFlagsClass{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
599 // GTypeClass gTypeClass;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
600 // gobject-Enumeration-and-Flag-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
601 // uint mask;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
602 // gobject-Enumeration-and-Flag-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
603 // uint nValues;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
604 // gobject-Enumeration-and-Flag-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
605 // GFlagsValue *values;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
606 // gobject-Enumeration-and-Flag-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
607
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
608
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
609 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
610 * Main Gtk struct.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
611 * A structure which contains a single enum value, it's name, and it's
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
612 * nickname.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
613 * gintvalue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
614 * the enum value
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
615 * constgchar*value_name;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
616 * the name of the value
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
617 * constgchar*value_nick;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
618 * the nickname of the value
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
619 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
620 public struct GEnumValue
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
621 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
622 int value;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
623 char *valueName;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
624 char *valueNick;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
625 }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
626
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
627
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
628 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
629 * A structure which contains a single flags value, it's name, and it's
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
630 * nickname.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
631 * guintvalue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
632 * the flags value
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
633 * constgchar*value_name;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
634 * the name of the value
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
635 * constgchar*value_nick;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
636 * the nickname of the value
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
637 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
638 public struct GFlagsValue
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
639 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
640 uint value;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
641 char *valueName;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
642 char *valueNick;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
643 }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
644
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
645
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
646 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
647 * A GParamSpec derived structure that contains the meta data for boolean properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
648 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
649 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
650 * gbooleandefault_value;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
651 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
652 public struct GParamSpecBoolean{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
653 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
654 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
655 // int defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
656 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
657
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
658
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
659 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
660 * A GParamSpec derived structure that contains the meta data for character properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
661 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
662 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
663 * gint8minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
664 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
665 public struct GParamSpecChar{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
666 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
667 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
668 // byte minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
669 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
670 // byte maximum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
671 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
672 // byte defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
673 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
674
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
675
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
676 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
677 * A GParamSpec derived structure that contains the meta data for unsigned character properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
678 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
679 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
680 * guint8minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
681 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
682 public struct GParamSpecUChar{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
683 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
684 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
685 // byte minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
686 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
687 // byte maximum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
688 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
689 // byte defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
690 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
691
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
692
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
693 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
694 * A GParamSpec derived structure that contains the meta data for integer properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
695 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
696 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
697 * gintminimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
698 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
699 public struct GParamSpecInt{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
700 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
701 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
702 // int minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
703 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
704 // int maximum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
705 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
706 // int defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
707 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
708
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
709
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
710 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
711 * A GParamSpec derived structure that contains the meta data for unsigned integer properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
712 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
713 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
714 * guintminimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
715 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
716 public struct GParamSpecUInt{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
717 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
718 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
719 // uint minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
720 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
721 // uint maximum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
722 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
723 // uint defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
724 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
725
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
726
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
727 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
728 * A GParamSpec derived structure that contains the meta data for long integer properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
729 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
730 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
731 * glongminimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
732 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
733 public struct GParamSpecLong{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
734 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
735 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
736 // int minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
737 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
738 // int maximum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
739 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
740 // int defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
741 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
742
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
743
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
744 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
745 * A GParamSpec derived structure that contains the meta data for unsigned long integer properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
746 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
747 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
748 * gulongminimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
749 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
750 public struct GParamSpecULong{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
751 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
752 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
753 // uint minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
754 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
755 // uint maximum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
756 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
757 // uint defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
758 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
759
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
760
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
761 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
762 * A GParamSpec derived structure that contains the meta data for 64bit integer properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
763 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
764 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
765 * gint64minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
766 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
767 public struct GParamSpecInt64{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
768 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
769 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
770 // long minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
771 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
772 // long maximum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
773 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
774 // long defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
775 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
776
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
777
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
778 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
779 * A GParamSpec derived structure that contains the meta data for unsigned 64bit integer properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
780 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
781 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
782 * guint64minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
783 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
784 public struct GParamSpecUInt64{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
785 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
786 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
787 // ulong minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
788 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
789 // ulong maximum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
790 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
791 // ulong defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
792 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
793
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
794
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
795 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
796 * A GParamSpec derived structure that contains the meta data for float properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
797 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
798 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
799 * gfloatminimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
800 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
801 public struct GParamSpecFloat{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
802 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
803 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
804 // float minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
805 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
806 // float maximum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
807 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
808 // float defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
809 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
810 // float epsilon;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
811 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
812
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
813
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
814 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
815 * A GParamSpec derived structure that contains the meta data for double properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
816 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
817 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
818 * gdoubleminimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
819 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
820 public struct GParamSpecDouble{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
821 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
822 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
823 // double minimum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
824 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
825 // double maximum;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
826 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
827 // double defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
828 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
829 // double epsilon;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
830 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
831
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
832
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
833 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
834 * A GParamSpec derived structure that contains the meta data for enum
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
835 * properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
836 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
837 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
838 * GEnumClass*enum_class;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
839 * the GEnumClass for the enum
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
840 * gintdefault_value;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
841 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
842 public struct GParamSpecEnum{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
843 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
844 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
845 // GEnumClass *enumClass;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
846 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
847 // int defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
848 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
849
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
850
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
851 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
852 * A GParamSpec derived structure that contains the meta data for flags
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
853 * properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
854 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
855 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
856 * GFlagsClass*flags_class;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
857 * the GFlagsClass for the flags
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
858 * guintdefault_value;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
859 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
860 public struct GParamSpecFlags{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
861 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
862 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
863 // GFlagsClass *flagsClass;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
864 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
865 // uint defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
866 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
867
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
868
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
869 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
870 * A GParamSpec derived structure that contains the meta data for string
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
871 * properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
872 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
873 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
874 * gchar*default_value;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
875 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
876 public struct GParamSpecString{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
877 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
878 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
879 // char *defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
880 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
881 // char *csetFirst;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
882 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
883 // char *csetNth;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
884 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
885 // char substitutor;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
886 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
887 // uint nullFoldIfEmpty : 1;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
888 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
889 // uint ensureNonNull : 1;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
890 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
891
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
892
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
893 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
894 * A GParamSpec derived structure that contains the meta data for G_TYPE_PARAM
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
895 * properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
896 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
897 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
898 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
899 public struct GParamSpecParam{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
900 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
901 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
902
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
903
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
904 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
905 * A GParamSpec derived structure that contains the meta data for boxed properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
906 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
907 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
908 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
909 public struct GParamSpecBoxed{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
910 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
911 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
912
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
913
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
914 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
915 * A GParamSpec derived structure that contains the meta data for pointer properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
916 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
917 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
918 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
919 public struct GParamSpecPointer{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
920 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
921 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
922
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
923
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
924 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
925 * A GParamSpec derived structure that contains the meta data for object properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
926 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
927 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
928 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
929 public struct GParamSpecObject{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
930 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
931 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
932
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
933
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
934 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
935 * A GParamSpec derived structure that contains the meta data for unichar (unsigned integer) properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
936 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
937 * private GParamSpec portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
938 * gunichardefault_value;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
939 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
940 public struct GParamSpecUnichar{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
941 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
942 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
943 // gunichar defaultValue;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
944 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
945
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
946
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
947 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
948 * A GParamSpec derived structure that contains the meta data for GValueArray properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
949 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
950 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
951 public struct GParamSpecValueArray{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
952 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
953 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
954 // GParamSpec *elementSpec;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
955 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
956 // uint fixedNElements;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
957 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
958
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
959
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
960 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
961 * This is a type of GParamSpec type that simply redirects operations to
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
962 * another paramspec. All operations other than getting or
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
963 * setting the value are redirected, including accessing the nick and
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
964 * blurb, validating a value, and so forth. See
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
965 * g_param_spec_get_redirect_target() for retrieving the overidden
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
966 * property. GParamSpecOverride is used in implementing
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
967 * g_object_class_override_property(), and will not be directly useful
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
968 * unless you are implementing a new base type similar to GObject.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
969 * Since 2.4
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
970 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
971 public struct GParamSpecOverride{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
972
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
973
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
974 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
975 * A GParamSpec derived structure that contains the meta data for GType properties.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
976 * GParamSpecparent_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
977 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
978 public struct GParamSpecGType{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
979 // GParamSpec parentInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
980 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
981 // GType isAType;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
982 // gobject-Standard-Parameter-and-Value-Types.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
983
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
984
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
985 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
986 * Main Gtk struct.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
987 * All fields of the GParamSpec struct are private and
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
988 * should not be used directly, except for the following:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
989 * GTypeInstanceg_type_instance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
990 * private GTypeInstance portion
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
991 * gchar*name;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
992 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
993 public struct GParamSpec{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
994 // GTypeInstance gTypeInstance;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
995 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
996 // char *name;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
997 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
998 // GParamFlags flags;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
999 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1000 // GType valueType;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1001 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1002 // GType ownerType; /+* class or interface using this property +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1003 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1004
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1005
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1006 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1007 * The class structure for the GParamSpec type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1008 * Normally, GParamSpec classes are filled by
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1009 * g_param_type_register_static().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1010 * GTypeClassg_type_class;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1011 * the parent class
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1012 * GTypevalue_type;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1013 * the GValue type for this parameter
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1014 * finalize()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1015 * The instance finalization function (optional), should chain
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1016 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1017 public struct GParamSpecClass{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1018 // GTypeClass gTypeClass;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1019 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1020 // GType valueType;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1021 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1022 // void (*finalize) (GParamSpec *pspec);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1023 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1024 // /+* GParam methods +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1025 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1026 // void (*valueSetDefault) (GParamSpec *pspec,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1027 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1028 // GValue *value);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1029 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1030 // int (*valueValidate) (GParamSpec *pspec,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1031 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1032 // GValue *value);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1033 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1034 // int (*valuesCmp) (GParamSpec *pspec,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1035 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1036 // GValue *value1,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1037 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1038 // GValue *value2);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1039 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1040
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1041
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1042 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1043 * This structure is used to provide the type system with the information
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1044 * required to initialize and destruct (finalize) a parameter's class and
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1045 * instances thereof.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1046 * The initialized structure is passed to the g_param_type_register_static()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1047 * The type system will perform a deep copy of this structure, so it's memory
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1048 * does not need to be persistent across invocation of
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1049 * g_param_type_register_static().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1050 * guint16instance_size;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1051 * Size of the instance (object) structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1052 * guint16n_preallocs;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1053 * Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the slice allocator now.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1054 * instance_init()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1055 * Location of the instance initialization function (optional).
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1056 * GTypevalue_type;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1057 * The GType of values conforming to this GParamSpec
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1058 * finalize()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1059 * The instance finalization function (optional).
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1060 * value_set_default()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1061 * Resets a value to the default value for pspec
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1062 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1063 public struct GParamSpecTypeInfo{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1064 // /+* type system portion +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1065 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1066 // ushort instanceSize; /+* obligatory +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1067 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1068 // ushort nPreallocs; /+* optional +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1069 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1070 // void (*instanceInit) (GParamSpec *pspec); /+* optional +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1071 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1072 // /+* class portion +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1073 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1074 // GType valueType; /+* obligatory +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1075 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1076 // void (*finalize) (GParamSpec *pspec); /+* optional +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1077 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1078 // void (*valueSetDefault) (GParamSpec *pspec, /+* recommended +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1079 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1080 // GValue *value);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1081 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1082 // int (*valueValidate) (GParamSpec *pspec, /+* optional +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1083 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1084 // GValue *value);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1085 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1086 // int (*valuesCmp) (GParamSpec *pspec, /+* recommended +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1087 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1088 // GValue *value1,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1089 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1090 // GValue *value2);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1091 // gobject-GParamSpec.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1092
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1093
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1094 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1095 * A GParamSpecPool maintains a collection of GParamSpecs which can be
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1096 * quickly accessed by owner and name. The implementation of the GObject property
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1097 * system uses such a pool to store the GParamSpecs of the properties all object
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1098 * types.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1099 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1100 public struct GParamSpecPool{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1101
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1102
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1103 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1104 * The GSignalInvocationHint structure is used to pass on additional information
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1105 * to callbacks during a signal emission.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1106 * guintsignal_id;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1107 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1108 public struct GSignalInvocationHint{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1109 // uint signalId;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1110 // gobject-Signals.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1111 // GQuark detail;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1112 // gobject-Signals.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1113 // GSignalFlags runType;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1114 // gobject-Signals.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1115
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1116
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1117 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1118 * A structure holding in-depth information for a specific signal. It is
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1119 * filled in by the g_signal_query() function.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1120 * guintsignal_id;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1121 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1122 public struct GSignalQuery{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1123 // uint signalId;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1124 // gobject-Signals.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1125 // char *signalName;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1126 // gobject-Signals.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1127 // GType itype;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1128 // gobject-Signals.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1129 // GSignalFlags signalFlags;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1130 // gobject-Signals.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1131 // GType returnType; /+* mangled with G_SIGNAL_TYPE_STATIC_SCOPE flag +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1132 // gobject-Signals.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1133 // uint nParams;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1134 // gobject-Signals.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1135 // GType *paramTypes; /+* mangled with G_SIGNAL_TYPE_STATIC_SCOPE flag +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1136 // gobject-Signals.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1137
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1138
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1139 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1140 * Main Gtk struct.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1141 * A GClosure represents a callback supplied by the programmer.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1142 * volatile guintin_marshal:1;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1143 * Indicates whether the closure is currently being invoked with
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1144 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1145 public struct GClosure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1146 {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1147 uint bitfield;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1148 //uint inMarshal : 1;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1149 }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1150
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1151
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1152 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1153 * A GCClosure is a specialization of GClosure for C function callbacks.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1154 * GClosureclosure;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1155 * the GClosure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1156 * gpointercallback;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1157 * the callback function
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1158 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1159 public struct GCClosure{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1160 // GClosure closure;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1161 // gobject-Closures.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1162 // void* callback;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1163 // gobject-Closures.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1164
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1165
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1166 /**
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1167 * Main Gtk struct.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1168 * A GValueArray contains an array of GValue elements.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1169 * guintn_values;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1170 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1171 public struct GValueArray{}
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1172 // uint nValues;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1173 // gobject-Value-arrays.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1174 // GValue *values;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1175 // gobject-Value-arrays.html
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1176
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1177
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1178 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1179 * Returns the fundamental type which is the ancestor of type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1180 * Fundamental types are types that serve as ultimate bases for the derived types,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1181 * thus they are the roots of distinct inheritance hierarchies.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1182 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1183 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1184 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1185 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1186 // #define G_TYPE_FUNDAMENTAL(type) (g_type_fundamental (type))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1187
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1188 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1189 * Returns the type ID for the fundamental type number x.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1190 * Use g_type_fundamental_next() instead of this macro to create new fundamental
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1191 * types.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1192 * x:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1193 * the fundamental type number.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1194 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1195 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1196 // #define G_TYPE_MAKE_FUNDAMENTAL(x) ((GType) ((x) << G_TYPE_FUNDAMENTAL_SHIFT))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1197
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1198 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1199 * Returns TRUE if type is an abstract type. An abstract type can not be
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1200 * instantiated and is normally used as an abstract base class for
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1201 * derived classes.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1202 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1203 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1204 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1205 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1206 // #define G_TYPE_IS_ABSTRACT(type) (g_type_test_flags ((type), G_TYPE_FLAG_ABSTRACT))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1207
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1208 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1209 * Returns TRUE if type is derived (or in object-oriented terminology:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1210 * inherited) from another type (this holds true for all non-fundamental
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1211 * types).
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1212 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1213 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1214 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1215 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1216 // #define G_TYPE_IS_DERIVED(type) ((type) > G_TYPE_FUNDAMENTAL_MAX)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1217
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1218 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1219 * Returns TRUE if type is a fundamental type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1220 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1221 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1222 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1223 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1224 // #define G_TYPE_IS_FUNDAMENTAL(type) ((type) <= G_TYPE_FUNDAMENTAL_MAX)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1225
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1226 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1227 * Returns TRUE if type is a value type and can be used with
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1228 * g_value_init().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1229 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1230 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1231 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1232 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1233 // #define G_TYPE_IS_VALUE_TYPE(type) (g_type_check_is_value_type (type))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1234
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1235 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1236 * Returns TRUE if type has a GTypeValueTable.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1237 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1238 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1239 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1240 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1241 // #define G_TYPE_HAS_VALUE_TABLE(type) (g_type_value_table_peek (type) != NULL)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1242
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1243 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1244 * Returns TRUE if type is a classed type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1245 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1246 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1247 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1248 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1249 // #define G_TYPE_IS_CLASSED(type) (g_type_test_flags ((type), G_TYPE_FLAG_CLASSED))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1250
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1251 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1252 * Returns TRUE if type can be instantiated. Instantiation is the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1253 * process of creating an instance (object) of this type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1254 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1255 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1256 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1257 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1258 // #define G_TYPE_IS_INSTANTIATABLE(type) (g_type_test_flags ((type), G_TYPE_FLAG_INSTANTIATABLE))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1259
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1260 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1261 * Returns TRUE if type is a derivable type. A derivable type can
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1262 * be used as the base class of a flat (single-level) class hierarchy.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1263 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1264 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1265 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1266 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1267 // #define G_TYPE_IS_DERIVABLE(type) (g_type_test_flags ((type), G_TYPE_FLAG_DERIVABLE))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1268
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1269 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1270 * Returns TRUE if type is a deep derivable type. A deep derivable type
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1271 * can be used as the base class of a deep (multi-level) class hierarchy.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1272 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1273 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1274 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1275 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1276 // #define G_TYPE_IS_DEEP_DERIVABLE(type) (g_type_test_flags ((type), G_TYPE_FLAG_DEEP_DERIVABLE))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1277
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1278 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1279 * Returns TRUE if type is an interface type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1280 * An interface type provides a pure API, the implementation
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1281 * of which is provided by another type (which is then said to conform
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1282 * to the interface). GLib interfaces are somewhat analogous to Java
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1283 * interfaces and C++ classes containing only pure virtual functions,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1284 * with the difference that GType interfaces are not derivable (but see
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1285 * g_type_interface_add_prerequisite() for an alternative).
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1286 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1287 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1288 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1289 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1290 // #define G_TYPE_IS_INTERFACE(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_INTERFACE)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1291
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1292 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1293 * Returns the type identifier from a given instance structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1294 * This macro should only be used in type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1295 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1296 * Location of a valid GTypeInstance structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1297 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1298 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1299 // #define G_TYPE_FROM_INSTANCE(instance) (G_TYPE_FROM_CLASS (((GTypeInstance*) (instance))->g_class))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1300
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1301 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1302 * Returns the type identifier from a given class structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1303 * This macro should only be used in type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1304 * g_class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1305 * Location of a valid GTypeClass structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1306 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1307 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1308 // #define G_TYPE_FROM_CLASS(g_class) (((GTypeClass*) (g_class))->g_type)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1309
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1310 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1311 * Returns the type identifier from a given interface structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1312 * This macro should only be used in type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1313 * g_iface:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1314 * Location of a valid GTypeInterface structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1315 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1316 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1317 // #define G_TYPE_FROM_INTERFACE(g_iface) (((GTypeInterface*) (g_iface))->g_type)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1318
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1319 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1320 * Returns the class structure of a given instance, casted
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1321 * to a specified ancestor type g_type of the instance.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1322 * Warning
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1323 * Note
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1324 * that while calling a GInstanceInitFunc(), the class pointer gets
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1325 * modified, so it might not always return the expected pointer.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1326 * This macro should only be used in type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1327 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1328 * Location of the GTypeInstance structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1329 * g_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1330 * The anchestor type of the class to be returned.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1331 * c_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1332 * The corresponding C type of g_type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1333 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1334 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1335 // #define G_TYPE_INSTANCE_GET_CLASS(instance, g_type, c_type) (_G_TYPE_IGC ((instance), (g_type), c_type))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1336
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1337 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1338 * Returns the interface structure for interface g_type of a given instance.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1339 * This macro should only be used in type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1340 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1341 * Location of the GTypeInstance structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1342 * g_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1343 * The interface type to be returned.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1344 * c_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1345 * The corresponding C type of g_type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1346 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1347 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1348 // #define G_TYPE_INSTANCE_GET_INTERFACE(instance, g_type, c_type) (_G_TYPE_IGI ((instance), (g_type), c_type))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1349
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1350 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1351 * Gets the private structure for a particular type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1352 * The private structure must have been registered in the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1353 * class_init function with g_type_class_add_private().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1354 * This macro should only be used in type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1355 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1356 * the instance of a type deriving from private_type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1357 * g_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1358 * the type identifying which private data to retrieve.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1359 * c_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1360 * The C type for the private structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1361 * Since 2.4
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1362 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1363 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1364 // #define G_TYPE_INSTANCE_GET_PRIVATE(instance, g_type, c_type) ((c_type*) g_type_instance_get_private ((GTypeInstance*) (instance), (g_type)))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1365
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1366 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1367 * Returns TRUE if instance is a valid GTypeInstance structure,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1368 * otherwise emits a warning and returns FALSE.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1369 * This macro should only be used in type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1370 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1371 * Location of a GTypeInstance structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1372 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1373 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1374 // #define G_TYPE_CHECK_INSTANCE(instance) (_G_TYPE_CHI ((GTypeInstance*) (instance)))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1375
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1376 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1377 * Checks that instance is an instance of the type identified by g_type
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1378 * and emits a warning if this is not the case. Returns instance casted
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1379 * to a pointer to c_type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1380 * This macro should only be used in type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1381 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1382 * Location of a GTypeInstance structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1383 * g_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1384 * The type to be returned.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1385 * c_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1386 * The corresponding C type of g_type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1387 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1388 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1389 // #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1390
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1391 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1392 * Returns TRUE if instance is an instance of the type identified by g_type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1393 * Otherwise emits a warning and returns FALSE.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1394 * This macro should only be used in type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1395 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1396 * Location of a GTypeInstance structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1397 * g_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1398 * The type to be checked
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1399 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1400 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1401 // #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type)))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1402
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1403 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1404 * Checks that g_class is a class structure of the type identified by g_type
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1405 * and emits a warning if this is not the case. Returns g_class casted
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1406 * to a pointer to c_type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1407 * This macro should only be used in type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1408 * g_class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1409 * Location of a GTypeClass structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1410 * g_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1411 * The type to be returned.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1412 * c_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1413 * The corresponding C type of class structure of g_type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1414 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1415 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1416 // #define G_TYPE_CHECK_CLASS_CAST(g_class, g_type, c_type) (_G_TYPE_CCC ((g_class), (g_type), c_type))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1417
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1418 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1419 * Returns TRUE if g_class is a class structure of the type identified by
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1420 * g_type. Otherwise emits a warning and returns FALSE.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1421 * This macro should only be used in type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1422 * g_class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1423 * Location of a GTypeClass structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1424 * g_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1425 * The type to be checked.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1426 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1427 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1428 // #define G_TYPE_CHECK_CLASS_TYPE(g_class, g_type) (_G_TYPE_CCT ((g_class), (g_type)))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1429
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1430 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1431 * Returns TRUE if value has been initialized to hold values
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1432 * of a value type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1433 * This macro should only be used in type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1434 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1435 * a GValue
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1436 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1437 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1438 // #define G_TYPE_CHECK_VALUE(value) (_G_TYPE_CHV ((value)))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1439
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1440 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1441 * Returns TRUE if value has been initialized to hold values
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1442 * of type g_type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1443 * This macro should only be used in type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1444 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1445 * a GValue
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1446 * g_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1447 * The type to be checked.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1448 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1449 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1450 // #define G_TYPE_CHECK_VALUE_TYPE(value, g_type) (_G_TYPE_CVH ((value), (g_type)))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1451
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1452 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1453 * A convenience macro for type implementations, which declares a
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1454 * class initialization function, an instance initialization function (see GTypeInfo for information about
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1455 * these) and a static variable named t_n_parent_class pointing to the parent class. Furthermore, it defines
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1456 * a *_get_type() function. See G_DEFINE_TYPE_EXTENDED() for an example.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1457 * TN:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1458 * The name of the new type, in Camel case.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1459 * t_n:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1460 * The name of the new type, in lowercase, with words
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1461 * separated by '_'.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1462 * T_P:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1463 * The GType of the parent type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1464 * Since 2.4
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1465 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1466 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1467 // #define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1468
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1469 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1470 * A convenience macro for type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1471 * Similar to G_DEFINE_TYPE(), but allows to insert custom code into the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1472 * *_get_type() function, e.g. interface implementations via G_IMPLEMENT_INTERFACE().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1473 * See G_DEFINE_TYPE_EXTENDED() for an example.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1474 * TN:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1475 * The name of the new type, in Camel case.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1476 * t_n:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1477 * The name of the new type in lowercase, with words separated by '_'.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1478 * T_P:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1479 * The GType of the parent type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1480 * _C_:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1481 * Custom code that gets inserted in the *_get_type() function.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1482 * Since 2.4
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1483 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1484 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1485 // #define G_DEFINE_TYPE_WITH_CODE(TN, t_n, T_P, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, 0) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1486
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1487 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1488 * A convenience macro for type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1489 * Similar to G_DEFINE_TYPE(), but defines an abstract type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1490 * See G_DEFINE_TYPE_EXTENDED() for an example.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1491 * TN:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1492 * The name of the new type, in Camel case.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1493 * t_n:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1494 * The name of the new type, in lowercase, with words
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1495 * separated by '_'.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1496 * T_P:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1497 * The GType of the parent type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1498 * Since 2.4
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1499 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1500 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1501 // #define G_DEFINE_ABSTRACT_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT, {})
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1502
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1503 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1504 * A convenience macro for type implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1505 * Similar to G_DEFINE_TYPE_WITH_CODE(), but defines an abstract type and allows to
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1506 * insert custom code into the *_get_type() function, e.g. interface implementations
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1507 * via G_IMPLEMENT_INTERFACE(). See G_DEFINE_TYPE_EXTENDED() for an example.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1508 * TN:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1509 * The name of the new type, in Camel case.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1510 * t_n:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1511 * The name of the new type, in lowercase, with words
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1512 * separated by '_'.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1513 * T_P:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1514 * The GType of the parent type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1515 * _C_:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1516 * Custom code that gets inserted in the @type_name_get_type() function.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1517 * Since 2.4
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1518 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1519 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1520 // #define G_DEFINE_ABSTRACT_TYPE_WITH_CODE(TN, t_n, T_P, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1521
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1522 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1523 * A convenience macro to ease interface addition in the _C_ section
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1524 * of G_DEFINE_TYPE_WITH_CODE() or G_DEFINE_ABSTRACT_TYPE_WITH_CODE().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1525 * See G_DEFINE_TYPE_EXTENDED() for an example.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1526 * Note that this macro can only be used together with the G_DEFINE_TYPE_*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1527 * macros, since it depends on variable names from those macros.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1528 * TYPE_IFACE:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1529 * The GType of the interface to add
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1530 * iface_init:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1531 * The interface init function
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1532 * Since 2.4
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1533 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1534 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1535 // #define G_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1536
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1537 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1538 * The most general convenience macro for type implementations, on which
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1539 * G_DEFINE_TYPE(), etc are based.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1540 * G_DEFINE_TYPE_EXTENDED (GtkGadget,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1541 * gtk_gadget,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1542 * GTK_TYPE_WIDGET,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1543 * 0,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1544 * G_IMPLEMENT_INTERFACE (TYPE_GIZMO,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1545 * gtk_gadget_gizmo_init));
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1546 * expands to
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1547 * static void gtk_gadget_init (GtkGadget *self);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1548 * static void gtk_gadget_class_init (GtkGadgetClass *klass);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1549 * static gpointer gtk_gadget_parent_class = NULL;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1550 * static void gtk_gadget_class_intern_init (gpointer klass)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1551 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1552 * gtk_gadget_parent_class = g_type_class_peek_parent (klass);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1553 * gtk_gadget_class_init ((GtkGadgetClass*) klass);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1554 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1555 * GType
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1556 * gtk_gadget_get_type (void)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1557 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1558 * static GType g_define_type_id = 0;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1559 * if (G_UNLIKELY (g_define_type_id == 0))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1560 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1561 * static const GTypeInfo g_define_type_info = {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1562 * sizeof (GtkGadgetClass),
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1563 * (GBaseInitFunc) NULL,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1564 * (GBaseFinalizeFunc) NULL,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1565 * (GClassInitFunc) gtk_gadget_class_intern_init,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1566 * (GClassFinalizeFunc) NULL,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1567 * NULL, /+* class_data +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1568 * sizeof (GtkGadget),
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1569 * 0, /+* n_preallocs +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1570 * (GInstanceInitFunc) gtk_gadget_init,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1571 * };
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1572 * g_define_type_id = g_type_register_static (GTK_TYPE_WIDGET, "GtkGadget", g_define_type_info, 0);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1573 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1574 * static const GInterfaceInfo g_implement_interface_info = {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1575 * (GInterfaceInitFunc) gtk_gadget_gizmo_init
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1576 * };
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1577 * g_type_add_interface_static (g_define_type_id, TYPE_GIZMO, g_implement_interface_info);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1578 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1579 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1580 * return g_define_type_id;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1581 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1582 * The only pieces which have to be manually provided are the definitions of the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1583 * instance and class structure and the definitions of the instance and class
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1584 * init functions.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1585 * TN:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1586 * The name of the new type, in Camel case.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1587 * t_n:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1588 * The name of the new type, in lowercase, with words
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1589 * separated by '_'.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1590 * T_P:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1591 * The GType of the parent type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1592 * _f_:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1593 * GTypeFlags to pass to g_type_register_static()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1594 * _C_:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1595 * Custom code that gets inserted in the *_get_type() function.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1596 * Since 2.4
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1597 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1598 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1599 // #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1600
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1601 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1602 * A convenience macro for dynamic type implementations, which declares a
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1603 * class initialization function, an instance initialization function (see
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1604 * GTypeInfo for information about these) and a static variable named
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1605 * t_n_parent_class pointing to the parent class. Furthermore,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1606 * it defines a *_get_type() and a static
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1607 * *_register_type() function for use in your
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1608 * module_init().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1609 * See G_DEFINE_DYNAMIC_TYPE_EXTENDED() for an example.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1610 * TN:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1611 * The name of the new type, in Camel case.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1612 * t_n:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1613 * The name of the new type, in lowercase, with words
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1614 * separated by '_'.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1615 * T_P:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1616 * The GType of the parent type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1617 * Since 2.14
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1618 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1619 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1620 // #define G_DEFINE_DYNAMIC_TYPE(TN, t_n, T_P) G_DEFINE_DYNAMIC_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1621
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1622 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1623 * A more general version of G_DEFINE_DYNAMIC_TYPE() which
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1624 * allows to specify GTypeFlags and custom code.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1625 * G_DEFINE_DYNAMIC_TYPE_EXTENDED (GtkGadget,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1626 * gtk_gadget,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1627 * GTK_TYPE_THING,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1628 * 0,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1629 * G_IMPLEMENT_INTERFACE (TYPE_GIZMO,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1630 * gtk_gadget_gizmo_init));
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1631 * expands to
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1632 * static void gtk_gadget_init (GtkGadget *self);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1633 * static void gtk_gadget_class_init (GtkGadgetClass *klass);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1634 * static void gtk_gadget_class_finalize (GtkGadgetClass *klass);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1635 * static gpointer gtk_gadget_parent_class = NULL;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1636 * static GType gtk_gadget_type_id = 0;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1637 * static void gtk_gadget_class_intern_init (gpointer klass)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1638 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1639 * gtk_gadget_parent_class = g_type_class_peek_parent (klass);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1640 * gtk_gadget_class_init ((GtkGadgetClass*) klass);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1641 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1642 * GType
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1643 * gtk_gadget_get_type (void)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1644 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1645 * return gtk_gadget_type_id;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1646 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1647 * static void
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1648 * gtk_gadget_register_type (GTypeModule *type_module)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1649 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1650 * const GTypeInfo g_define_type_info = {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1651 * sizeof (GtkGadgetClass),
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1652 * (GBaseInitFunc) NULL,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1653 * (GBaseFinalizeFunc) NULL,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1654 * (GClassInitFunc) gtk_gadget_class_intern_init,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1655 * (GClassFinalizeFunc) gtk_gadget_class_finalize,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1656 * NULL, /+* class_data +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1657 * sizeof (GtkGadget),
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1658 * 0, /+* n_preallocs +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1659 * (GInstanceInitFunc) gtk_gadget_init,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1660 * NULL /+* value_table +/
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1661 * };
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1662 * gtk_gadget_type_id = g_type_module_register_type (type_module,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1663 * GTK_TYPE_THING,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1664 * GtkGadget,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1665 * g_define_type_info,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1666 * (GTypeFlags) flags);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1667 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1668 * const GInterfaceInfo g_implement_interface_info = {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1669 * (GInterfaceInitFunc) gtk_gadget_gizmo_init
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1670 * };
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1671 * g_type_add_interface_static (g_define_type_id, TYPE_GIZMO, g_implement_interface_info);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1672 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1673 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1674 * TypeName:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1675 * The name of the new type, in Camel case.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1676 * type_name:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1677 * The name of the new type, in lowercase, with words
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1678 * separated by '_'.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1679 * TYPE_PARENT:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1680 * The GType of the parent type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1681 * flags:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1682 * GTypeFlags to pass to g_type_register_static()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1683 * CODE:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1684 * Custom code that gets inserted in the *_get_type() function.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1685 * Since 2.14
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1686 * See Also
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1687 * GTypePlugin
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1688 * The abstract type loader interface.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1689 * GModule
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1690 * Portable mechanism for dynamically loaded modules.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1691 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1692 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1693 // #define G_DEFINE_DYNAMIC_TYPE_EXTENDED(TypeName, type_name, TYPE_PARENT, flags, CODE)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1694
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1695 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1696 * Returns a boolean value of FALSE or TRUE indicating whether
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1697 * the passed in type id is a G_TYPE_OBJECT or derived from it.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1698 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1699 * Type id to check for is a G_TYPE_OBJECT relationship.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1700 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1701 * FALSE or TRUE, indicating whether type is a G_TYPE_OBJECT.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1702 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1703 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1704 // #define G_TYPE_IS_OBJECT(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_OBJECT)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1705
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1706 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1707 * Casts a GObject or derived pointer into a (GObject*) pointer.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1708 * Depending on the current debugging level, this function may invoke
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1709 * certain runtime checks to identify invalid casts.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1710 * object:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1711 * Object which is subject to casting.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1712 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1713 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1714 // #define G_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), G_TYPE_OBJECT, GObject))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1715
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1716 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1717 * Checks whether a valid GTypeInstance pointer is of type G_TYPE_OBJECT.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1718 * object:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1719 * Instance to check for being a G_TYPE_OBJECT.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1720 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1721 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1722 // #define G_IS_OBJECT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), G_TYPE_OBJECT))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1723
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1724 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1725 * Casts a derived GObjectClass structure into a GObjectClass structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1726 * class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1727 * a valid GObjectClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1728 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1729 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1730 // #define G_OBJECT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_OBJECT, GObjectClass))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1731
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1732 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1733 * Checks whether class "is a" valid GObjectClass structure of type
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1734 * G_TYPE_OBJECT or derived.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1735 * class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1736 * a GObjectClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1737 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1738 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1739 // #define G_IS_OBJECT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_OBJECT))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1740
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1741 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1742 * Returns the class structure associated to a GObject instance.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1743 * object:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1744 * a GObject instance.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1745 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1746 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1747 // #define G_OBJECT_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), G_TYPE_OBJECT, GObjectClass))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1748
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1749 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1750 * Return the type id of an object.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1751 * object:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1752 * Object to return the type id for.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1753 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1754 * Type id of object.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1755 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1756 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1757 // #define G_OBJECT_TYPE(object) (G_TYPE_FROM_INSTANCE (object))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1758
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1759 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1760 * Returns the name of an object's type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1761 * object:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1762 * Object to return the type name for.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1763 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1764 * Type name of object. The string is owned by the type system and
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1765 * should not be freed.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1766 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1767 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1768 // #define G_OBJECT_TYPE_NAME(object) (g_type_name (G_OBJECT_TYPE (object)))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1769
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1770 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1771 * Return the type id of a class structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1772 * class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1773 * a valid GObjectClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1774 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1775 * Type id of class.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1776 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1777 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1778 // #define G_OBJECT_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1779
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1780 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1781 * Return the name of a class structure's type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1782 * class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1783 * a valid GObjectClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1784 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1785 * Type name of class. The string is owned by the type system and
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1786 * should not be freed.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1787 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1788 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1789 // #define G_OBJECT_CLASS_NAME(class) (g_type_name (G_OBJECT_CLASS_TYPE (class)))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1790
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1791 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1792 * This macro should be used to emit a standard warning about unexpected
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1793 * properties in set_property() and get_property() implementations.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1794 * object:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1795 * the GObject on which set_property() or get_property() was called
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1796 * property_id:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1797 * the numeric id of the property
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1798 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1799 * the GParamSpec of the property
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1800 * Signal Details
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1801 * The "notify" signal
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1802 * void user_function (GObject *gobject,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1803 * GParamSpec *arg1,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1804 * gpointer user_data) : Run First / No Recursion / Has Details / Action / No Hooks
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1805 * The notify signal is emitted on an object when one of its properties
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1806 * has been changed. Note that getting this signal doesn't guarantee that the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1807 * value of the property has actually changed, it may also be emitted when
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1808 * the setter for the property is called to reinstate the previous value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1809 * This signal is typically used to obtain change notification for a
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1810 * single property, by specifying the property name as a detail in the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1811 * g_signal_connect() call, like this:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1812 * g_signal_connect (text_view->buffer, "notify::paste-target-list",
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1813 * G_CALLBACK (gtk_text_view_target_list_notify),
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1814 * text_view)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1815 * It is important to note that you must use
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1816 * canonical parameter names as
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1817 * detail strings for the notify signal.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1818 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1819 * the GParamSpec of the property which changed
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1820 * gobject:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1821 * the object which received the signal.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1822 * user_data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1823 * user data set when the signal handler was connected.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1824 * See Also
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1825 * GParamSpecObject, g_param_spec_object()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1826 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1827 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1828 // #define G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1829
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1830 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1831 * Returns the type identifier from a given GEnumClass structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1832 * class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1833 * a GEnumClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1834 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1835 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1836 // #define G_ENUM_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1837
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1838 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1839 * Returns the static type name from a given GEnumClass structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1840 * class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1841 * a GEnumClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1842 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1843 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1844 // #define G_ENUM_CLASS_TYPE_NAME(class) (g_type_name (G_ENUM_CLASS_TYPE (class)))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1845
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1846 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1847 * Returns whether type "is a" G_TYPE_ENUM.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1848 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1849 * a GType ID.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1850 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1851 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1852 // #define G_TYPE_IS_ENUM(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_ENUM)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1853
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1854 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1855 * Casts a derived GEnumClass structure into a GEnumClass structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1856 * class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1857 * a valid GEnumClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1858 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1859 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1860 // #define G_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_ENUM, GEnumClass))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1861
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1862 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1863 * Checks whether class "is a" valid GEnumClass structure of type G_TYPE_ENUM
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1864 * or derived.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1865 * class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1866 * a GEnumClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1867 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1868 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1869 // #define G_IS_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_ENUM))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1870
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1871 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1872 * Returns whether type "is a" G_TYPE_FLAGS.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1873 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1874 * a GType ID.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1875 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1876 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1877 // #define G_TYPE_IS_FLAGS(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_FLAGS)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1878
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1879 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1880 * Casts a derived GFlagsClass structure into a GFlagsClass structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1881 * class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1882 * a valid GFlagsClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1883 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1884 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1885 // #define G_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_FLAGS, GFlagsClass))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1886
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1887 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1888 * Checks whether class "is a" valid GFlagsClass structure of type G_TYPE_FLAGS
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1889 * or derived.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1890 * class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1891 * a GFlagsClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1892 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1893 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1894 // #define G_IS_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_FLAGS))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1895
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1896 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1897 * Returns the type identifier from a given GFlagsClass structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1898 * class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1899 * a GFlagsClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1900 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1901 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1902 // #define G_FLAGS_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1903
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1904 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1905 * Returns the static type name from a given GFlagsClass structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1906 * class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1907 * a GFlagsClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1908 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1909 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1910 // #define G_FLAGS_CLASS_TYPE_NAME(class) (g_type_name (G_FLAGS_CLASS_TYPE (class)))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1911
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1912 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1913 * Returns TRUE if value holds (or contains) a value of type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1914 * This macro will also check for value != NULL and issue a
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1915 * warning if the check fails.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1916 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1917 * A GValue structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1918 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1919 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1920 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1921 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1922 // #define G_VALUE_HOLDS(value,type) (G_TYPE_CHECK_VALUE_TYPE ((value), (type)))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1923
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1924 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1925 * Returns the type identifier of value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1926 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1927 * A GValue structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1928 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1929 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1930 // #define G_VALUE_TYPE(value) (((GValue*) (value))->g_type)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1931
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1932 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1933 * Returns the type name of value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1934 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1935 * A GValue structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1936 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1937 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1938 // #define G_VALUE_TYPE_NAME(value) (g_type_name (G_VALUE_TYPE (value)))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1939
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1940 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1941 * Return whether the passed in type ID can be used for g_value_init().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1942 * That is, this macro checks whether this type provides an implementation
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1943 * of the GTypeValueTable functions required for a type to create a GValue of.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1944 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1945 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1946 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1947 * Whether type is suitable as a GValue type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1948 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1949 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1950 // #define G_TYPE_IS_VALUE(type) (g_type_check_is_value_type (type))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1951
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1952 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1953 * Returns TRUE if type is an abstract value type. An abstract value type
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1954 * introduces a value table, but can't be used for g_value_init() and is normally
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1955 * used as an abstract base type for derived value types.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1956 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1957 * A GType value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1958 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1959 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1960 // #define G_TYPE_IS_VALUE_ABSTRACT(type) (g_type_test_flags ((type), G_TYPE_FLAG_VALUE_ABSTRACT))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1961
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1962 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1963 * Returns TRUE if value is a valid and initialized GValue structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1964 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1965 * A GValue structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1966 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1967 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1968 // #define G_IS_VALUE(value) (G_TYPE_CHECK_VALUE (value))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1969
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1970 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1971 * Return whether the given GParamSpec is of type G_TYPE_PARAM_BOOLEAN.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1972 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1973 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1974 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1975 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1976 // #define G_IS_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOOLEAN))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1977
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1978 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1979 * Cast a GParamSpec instance into a GParamSpecBoolean.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1980 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1981 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1982 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1983 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1984 // #define G_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOOLEAN, GParamSpecBoolean))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1985
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1986 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1987 * Return whether the given GValue can hold values of type G_TYPE_BOOLEAN.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1988 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1989 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1990 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1991 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1992 // #define G_VALUE_HOLDS_BOOLEAN(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_BOOLEAN))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1993
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1994 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1995 * Return whether the given GParamSpec is of type G_TYPE_PARAM_CHAR.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1996 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1997 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1998 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
1999 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2000 // #define G_IS_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_CHAR))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2001
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2002 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2003 * Cast a GParamSpec instance into a GParamSpecChar.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2004 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2005 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2006 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2007 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2008 // #define G_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_CHAR, GParamSpecChar))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2009
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2010 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2011 * Return whether the given GValue can hold values of type G_TYPE_CHAR.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2012 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2013 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2014 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2015 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2016 // #define G_VALUE_HOLDS_CHAR(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_CHAR))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2017
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2018 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2019 * Return whether the given GParamSpec is of type G_TYPE_PARAM_UCHAR.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2020 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2021 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2022 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2023 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2024 // #define G_IS_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UCHAR))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2025
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2026 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2027 * Cast a GParamSpec instance into a GParamSpecUChar.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2028 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2029 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2030 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2031 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2032 // #define G_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UCHAR, GParamSpecUChar))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2033
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2034 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2035 * Return whether the given GValue can hold values of type G_TYPE_UCHAR.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2036 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2037 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2038 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2039 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2040 // #define G_VALUE_HOLDS_UCHAR(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UCHAR))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2041
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2042 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2043 * Return whether the given GParamSpec is of type G_TYPE_PARAM_INT.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2044 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2045 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2046 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2047 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2048 // #define G_IS_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2049
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2050 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2051 * Cast a GParamSpec instance into a GParamSpecInt.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2052 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2053 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2054 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2055 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2056 // #define G_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT, GParamSpecInt))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2057
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2058 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2059 * Return whether the given GValue can hold values of type G_TYPE_INT.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2060 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2061 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2062 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2063 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2064 // #define G_VALUE_HOLDS_INT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_INT))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2065
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2066 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2067 * Return whether the given GParamSpec is of type G_TYPE_PARAM_UINT.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2068 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2069 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2070 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2071 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2072 // #define G_IS_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2073
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2074 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2075 * Cast a GParamSpec instance into a GParamSpecUInt.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2076 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2077 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2078 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2079 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2080 // #define G_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT, GParamSpecUInt))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2081
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2082 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2083 * Return whether the given GValue can hold values of type G_TYPE_UINT.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2084 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2085 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2086 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2087 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2088 // #define G_VALUE_HOLDS_UINT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UINT))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2089
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2090 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2091 * Return whether the given GParamSpec is of type G_TYPE_PARAM_LONG.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2092 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2093 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2094 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2095 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2096 // #define G_IS_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_LONG))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2097
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2098 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2099 * Cast a GParamSpec instance into a GParamSpecLong.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2100 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2101 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2102 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2103 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2104 // #define G_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_LONG, GParamSpecLong))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2105
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2106 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2107 * Return whether the given GValue can hold values of type G_TYPE_LONG.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2108 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2109 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2110 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2111 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2112 // #define G_VALUE_HOLDS_LONG(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_LONG))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2113
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2114 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2115 * Return whether the given GParamSpec is of type G_TYPE_PARAM_ULONG.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2116 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2117 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2118 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2119 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2120 // #define G_IS_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ULONG))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2121
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2122 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2123 * Cast a GParamSpec instance into a GParamSpecULong.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2124 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2125 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2126 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2127 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2128 // #define G_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ULONG, GParamSpecULong))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2129
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2130 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2131 * Return whether the given GValue can hold values of type G_TYPE_ULONG.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2132 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2133 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2134 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2135 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2136 // #define G_VALUE_HOLDS_ULONG(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_ULONG))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2137
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2138 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2139 * Return whether the given GParamSpec is of type G_TYPE_PARAM_INT64.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2140 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2141 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2142 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2143 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2144 // #define G_IS_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT64))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2145
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2146 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2147 * Cast a GParamSpec instance into a GParamSpecInt64.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2148 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2149 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2150 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2151 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2152 // #define G_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT64, GParamSpecInt64))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2153
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2154 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2155 * Return whether the given GValue can hold values of type G_TYPE_INT64.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2156 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2157 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2158 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2159 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2160 // #define G_VALUE_HOLDS_INT64(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_INT64))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2161
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2162 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2163 * Return whether the given GParamSpec is of type G_TYPE_PARAM_UINT64.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2164 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2165 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2166 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2167 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2168 // #define G_IS_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT64))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2169
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2170 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2171 * Cast a GParamSpec instance into a GParamSpecUInt64.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2172 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2173 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2174 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2175 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2176 // #define G_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT64, GParamSpecUInt64))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2177
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2178 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2179 * Return whether the given GValue can hold values of type G_TYPE_UINT64.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2180 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2181 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2182 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2183 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2184 // #define G_VALUE_HOLDS_UINT64(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UINT64))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2185
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2186 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2187 * Return whether the given GParamSpec is of type G_TYPE_PARAM_FLOAT.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2188 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2189 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2190 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2191 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2192 // #define G_IS_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLOAT))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2193
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2194 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2195 * Cast a GParamSpec instance into a GParamSpecFloat.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2196 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2197 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2198 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2199 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2200 // #define G_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLOAT, GParamSpecFloat))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2201
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2202 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2203 * Return whether the given GValue can hold values of type G_TYPE_FLOAT.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2204 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2205 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2206 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2207 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2208 // #define G_VALUE_HOLDS_FLOAT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_FLOAT))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2209
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2210 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2211 * Return whether the given GParamSpec is of type G_TYPE_PARAM_DOUBLE.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2212 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2213 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2214 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2215 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2216 // #define G_IS_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_DOUBLE))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2217
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2218 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2219 * Cast a GParamSpec instance into a GParamSpecDouble.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2220 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2221 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2222 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2223 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2224 // #define G_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_DOUBLE, GParamSpecDouble))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2225
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2226 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2227 * Return whether the given GValue can hold values of type G_TYPE_DOUBLE.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2228 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2229 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2230 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2231 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2232 // #define G_VALUE_HOLDS_DOUBLE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_DOUBLE))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2233
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2234 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2235 * Returns whether the given GParamSpec is of type G_TYPE_PARAM_ENUM.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2236 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2237 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2238 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2239 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2240 // #define G_IS_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ENUM))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2241
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2242 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2243 * Cast a GParamSpec instance into a GParamSpecEnum.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2244 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2245 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2246 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2247 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2248 // #define G_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ENUM, GParamSpecEnum))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2249
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2250 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2251 * Return whether the given GValue can hold values derived from type G_TYPE_ENUM.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2252 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2253 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2254 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2255 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2256 // #define G_VALUE_HOLDS_ENUM(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_ENUM))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2257
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2258 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2259 * Returns whether the given GParamSpec is of type G_TYPE_PARAM_FLAGS.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2260 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2261 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2262 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2263 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2264 // #define G_IS_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLAGS))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2265
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2266 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2267 * Cast a GParamSpec instance into a GParamSpecFlags.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2268 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2269 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2270 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2271 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2272 // #define G_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLAGS, GParamSpecFlags))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2273
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2274 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2275 * Returns whether the given GValue can hold values derived from type G_TYPE_FLAGS.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2276 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2277 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2278 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2279 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2280 // #define G_VALUE_HOLDS_FLAGS(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_FLAGS))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2281
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2282 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2283 * Returns whether the given GParamSpec is of type G_TYPE_PARAM_STRING.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2284 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2285 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2286 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2287 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2288 // #define G_IS_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_STRING))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2289
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2290 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2291 * Casts a GParamSpec instance into a GParamSpecString.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2292 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2293 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2294 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2295 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2296 // #define G_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_STRING, GParamSpecString))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2297
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2298 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2299 * Return whether the given GValue can hold values of type G_TYPE_STRING.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2300 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2301 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2302 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2303 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2304 // #define G_VALUE_HOLDS_STRING(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_STRING))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2305
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2306 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2307 * Returns whether the given GParamSpec is of type G_TYPE_PARAM_PARAM.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2308 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2309 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2310 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2311 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2312 // #define G_IS_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_PARAM))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2313
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2314 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2315 * Casts a GParamSpec instance into a GParamSpecParam.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2316 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2317 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2318 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2319 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2320 // #define G_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_PARAM, GParamSpecParam))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2321
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2322 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2323 * Return whether the given GValue can hold values derived from type G_TYPE_PARAM.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2324 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2325 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2326 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2327 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2328 // #define G_VALUE_HOLDS_PARAM(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_PARAM))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2329
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2330 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2331 * Return whether the given GParamSpec is of type G_TYPE_PARAM_BOXED.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2332 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2333 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2334 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2335 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2336 // #define G_IS_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOXED))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2337
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2338 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2339 * Cast a GParamSpec instance into a GParamSpecBoxed.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2340 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2341 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2342 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2343 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2344 // #define G_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOXED, GParamSpecBoxed))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2345
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2346 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2347 * Return whether the given GValue can hold values derived from type G_TYPE_BOXED.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2348 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2349 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2350 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2351 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2352 // #define G_VALUE_HOLDS_BOXED(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_BOXED))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2353
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2354 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2355 * Returns whether the given GParamSpec is of type G_TYPE_PARAM_POINTER.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2356 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2357 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2358 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2359 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2360 // #define G_IS_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_POINTER))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2361
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2362 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2363 * Casts a GParamSpec instance into a GParamSpecPointer.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2364 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2365 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2366 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2367 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2368 // #define G_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_POINTER, GParamSpecPointer))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2369
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2370 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2371 * Return whether the given GValue can hold values of type G_TYPE_POINTER.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2372 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2373 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2374 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2375 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2376 // #define G_VALUE_HOLDS_POINTER(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_POINTER))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2377
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2378 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2379 * Returns whether the given GParamSpec is of type G_TYPE_PARAM_OBJECT.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2380 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2381 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2382 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2383 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2384 // #define G_IS_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OBJECT))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2385
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2386 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2387 * Casts a GParamSpec instance into a GParamSpecObject.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2388 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2389 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2390 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2391 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2392 // #define G_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OBJECT, GParamSpecObject))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2393
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2394 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2395 * Return whether the given GValue can hold values derived from type G_TYPE_OBJECT.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2396 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2397 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2398 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2399 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2400 // #define G_VALUE_HOLDS_OBJECT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_OBJECT))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2401
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2402 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2403 * Return whether the given GParamSpec is of type G_TYPE_PARAM_UNICHAR.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2404 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2405 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2406 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2407 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2408 // #define G_IS_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UNICHAR))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2409
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2410 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2411 * Cast a GParamSpec instance into a GParamSpecUnichar.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2412 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2413 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2414 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2415 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2416 // #define G_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UNICHAR, GParamSpecUnichar))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2417
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2418 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2419 * Return whether the given GParamSpec is of type G_TYPE_PARAM_VALUE_ARRAY.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2420 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2421 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2422 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2423 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2424 // #define G_IS_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_VALUE_ARRAY))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2425
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2426 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2427 * Cast a GParamSpec instance into a GParamSpecValueArray.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2428 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2429 * a valid GParamSpec instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2430 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2431 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2432 // #define G_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_VALUE_ARRAY, GParamSpecValueArray))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2433
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2434 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2435 * Returns whether the given GParamSpec is of type G_TYPE_PARAM_OVERRIDE.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2436 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2437 * a GParamSpec
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2438 * Since 2.4
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2439 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2440 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2441 // #define G_IS_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OVERRIDE))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2442
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2443 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2444 * Casts a GParamSpec into a GParamSpecOverride.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2445 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2446 * a GParamSpec
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2447 * Since 2.4
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2448 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2449 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2450 // #define G_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OVERRIDE, GParamSpecOverride))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2451
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2452 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2453 * Returns whether the given GParamSpec is of type G_TYPE_PARAM_GTYPE.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2454 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2455 * a GParamSpec
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2456 * Since 2.10
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2457 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2458 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2459 // #define G_IS_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_GTYPE))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2460
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2461 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2462 * Casts a GParamSpec into a GParamSpecGType.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2463 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2464 * a GParamSpec
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2465 * Since 2.10
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2466 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2467 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2468 // #define G_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_GTYPE, GParamSpecGType))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2469
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2470 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2471 * Returns whether the given GValue can hold values of type G_TYPE_GTYPE.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2472 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2473 * a valid GValue structure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2474 * Since 2.12
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2475 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2476 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2477 // #define G_VALUE_HOLDS_GTYPE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_GTYPE))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2478
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2479 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2480 * Returns whether type "is a" G_TYPE_PARAM.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2481 * type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2482 * a GType ID
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2483 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2484 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2485 // #define G_TYPE_IS_PARAM(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_PARAM)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2486
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2487 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2488 * Casts a derived GParamSpec object (e.g. of type GParamSpecInt) into
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2489 * a GParamSpec object.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2490 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2491 * a valid GParamSpec
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2492 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2493 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2494 // #define G_PARAM_SPEC(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM, GParamSpec))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2495
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2496 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2497 * Checks whether pspec "is a" valid GParamSpec structure of type G_TYPE_PARAM
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2498 * or derived.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2499 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2500 * a GParamSpec
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2501 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2502 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2503 // #define G_IS_PARAM_SPEC(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2504
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2505 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2506 * Casts a derived GParamSpecClass structure into a GParamSpecClass structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2507 * pclass:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2508 * a valid GParamSpecClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2509 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2510 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2511 // #define G_PARAM_SPEC_CLASS(pclass) (G_TYPE_CHECK_CLASS_CAST ((pclass), G_TYPE_PARAM, GParamSpecClass))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2512
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2513 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2514 * Checks whether pclass "is a" valid GParamSpecClass structure of type
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2515 * G_TYPE_PARAM or derived.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2516 * pclass:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2517 * a GParamSpecClass
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2518 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2519 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2520 // #define G_IS_PARAM_SPEC_CLASS(pclass) (G_TYPE_CHECK_CLASS_TYPE ((pclass), G_TYPE_PARAM))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2521
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2522 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2523 * Retrieves the GParamSpecClass of a GParamSpec.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2524 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2525 * a valid GParamSpec
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2526 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2527 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2528 // #define G_PARAM_SPEC_GET_CLASS(pspec) (G_TYPE_INSTANCE_GET_CLASS ((pspec), G_TYPE_PARAM, GParamSpecClass))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2529
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2530 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2531 * Retrieves the GType of this pspec.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2532 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2533 * a valid GParamSpec
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2534 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2535 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2536 // #define G_PARAM_SPEC_TYPE(pspec) (G_TYPE_FROM_INSTANCE (pspec))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2537
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2538 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2539 * Retrieves the GType name of this pspec.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2540 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2541 * a valid GParamSpec
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2542 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2543 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2544 // #define G_PARAM_SPEC_TYPE_NAME(pspec) (g_type_name (G_PARAM_SPEC_TYPE (pspec)))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2545
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2546 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2547 * Retrieves the GType to initialize a GValue for this parameter.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2548 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2549 * a valid GParamSpec
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2550 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2551 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2552 // #define G_PARAM_SPEC_VALUE_TYPE(pspec) (G_PARAM_SPEC (pspec)->value_type)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2553
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2554 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2555 * Connects a GCallback function to a signal for a particular object.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2556 * The handler will be called before the default handler of the signal.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2557 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2558 * the instance to connect to.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2559 * detailed_signal:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2560 * a string of the form "signal-name::detail".
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2561 * c_handler:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2562 * the GCallback to connect.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2563 * data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2564 * data to pass to c_handler calls.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2565 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2566 * the handler id
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2567 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2568 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2569 // #define g_signal_connect(instance, detailed_signal, c_handler, data)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2570
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2571 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2572 * Connects a GCallback function to a signal for a particular object.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2573 * The handler will be called after the default handler of the signal.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2574 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2575 * the instance to connect to.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2576 * detailed_signal:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2577 * a string of the form "signal-name::detail".
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2578 * c_handler:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2579 * the GCallback to connect.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2580 * data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2581 * data to pass to c_handler calls.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2582 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2583 * the handler id
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2584 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2585 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2586 // #define g_signal_connect_after(instance, detailed_signal, c_handler, data)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2587
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2588 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2589 * Connects a GCallback function to a signal for a particular object.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2590 * The instance on which the signal is emitted and data will be swapped when
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2591 * calling the handler.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2592 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2593 * the instance to connect to.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2594 * detailed_signal:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2595 * a string of the form "signal-name::detail".
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2596 * c_handler:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2597 * the GCallback to connect.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2598 * data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2599 * data to pass to c_handler calls.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2600 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2601 * the handler id
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2602 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2603 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2604 // #define g_signal_connect_swapped(instance, detailed_signal, c_handler, data)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2605
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2606 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2607 * Blocks all handlers on an instance that match func and data.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2608 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2609 * The instance to block handlers from.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2610 * func:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2611 * The C closure callback of the handlers (useless for non-C closures).
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2612 * data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2613 * The closure data of the handlers' closures.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2614 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2615 * The number of handlers that got blocked.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2616 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2617 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2618 // #define g_signal_handlers_block_by_func(instance, func, data)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2619
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2620 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2621 * Unblocks all handlers on an instance that match func and data.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2622 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2623 * The instance to unblock handlers from.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2624 * func:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2625 * The C closure callback of the handlers (useless for non-C closures).
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2626 * data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2627 * The closure data of the handlers' closures.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2628 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2629 * The number of handlers that got unblocked.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2630 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2631 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2632 // #define g_signal_handlers_unblock_by_func(instance, func, data)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2633
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2634 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2635 * Disconnects all handlers on an instance that match func and data.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2636 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2637 * The instance to remove handlers from.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2638 * func:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2639 * The C closure callback of the handlers (useless for non-C closures).
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2640 * data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2641 * The closure data of the handlers' closures.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2642 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2643 * The number of handlers that got disconnected.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2644 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2645 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2646 // #define g_signal_handlers_disconnect_by_func(instance, func, data)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2647
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2648 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2649 * Returns TRUE if a GClosureMarshal marshaller has not yet been set on
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2650 * closure. See g_closure_set_marshal().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2651 * closure:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2652 * a GClosure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2653 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2654 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2655 // #define G_CLOSURE_NEEDS_MARSHAL(closure) (((GClosure*) (closure))->marshal == NULL)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2656
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2657 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2658 * Returns the total number of notifiers connected with the closure cl.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2659 * The count includes the meta marshaller, the finalize and invalidate notifiers
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2660 * and the marshal guards. Note that each guard counts as two notifiers.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2661 * See g_closure_set_meta_marshal(), g_closure_add_finalize_notifier(),
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2662 * g_closure_add_invalidate_notifier() and g_closure_add_marshal_guards().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2663 * cl:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2664 * a GClosure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2665 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2666 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2667 // #define G_CLOSURE_N_NOTIFIERS(cl)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2668
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2669 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2670 * Returns whether the user data of the GCClosure should be passed as the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2671 * first parameter to the callback. See g_cclosure_new_swap().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2672 * cclosure:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2673 * a GCClosure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2674 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2675 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2676 // #define G_CCLOSURE_SWAP_DATA(cclosure) (((GClosure*) (closure))->derivative_flag)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2677
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2678 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2679 * Cast a function pointer to a GCallback.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2680 * f:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2681 * a function pointer.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2682 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2683 // TODO
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2684 // #define G_CALLBACK(f) ((GCallback) (f))
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2685
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2686 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2687 * A callback function used by the type system to do base initialization
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2688 * of the class structures of derived types. It is called as part of the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2689 * initialization process of all derived classes and should reallocate
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2690 * or reset all dynamic class members copied over from the parent class.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2691 * For example, class members (such as strings) that are not sufficiently
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2692 * handled by a plain memory copy of the parent class into the derived class
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2693 * have to be altered. See GClassInitFunc() for a discussion of the class
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2694 * intialization process.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2695 * g_class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2696 * The GTypeClass structure to initialize.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2697 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2698 // void (*GBaseInitFunc) (gpointer g_class);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2699 public typedef extern(C) void function (void*) GBaseInitFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2700
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2701 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2702 * A callback function used by the type system to finalize those portions
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2703 * of a derived types class structure that were setup from the corresponding
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2704 * GBaseInitFunc() function. Class finalization basically works the inverse
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2705 * way in which class intialization is performed.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2706 * See GClassInitFunc() for a discussion of the class intialization process.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2707 * g_class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2708 * The GTypeClass structure to finalize.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2709 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2710 // void (*GBaseFinalizeFunc) (gpointer g_class);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2711 public typedef extern(C) void function (void*) GBaseFinalizeFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2712
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2713 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2714 * A callback function used by the type system to initialize the class
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2715 * of a specific type. This function should initialize all static class
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2716 * members.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2717 * The initialization process of a class involves:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2718 * 1 - Copying common members from the parent class over to the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2719 * derived class structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2720 * 2 - Zero initialization of the remaining members not copied
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2721 * over from the parent class.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2722 * 3 - Invocation of the GBaseInitFunc() initializers of all parent
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2723 * types and the class' type.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2724 * 4 - Invocation of the class' GClassInitFunc() initializer.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2725 * Since derived classes are partially initialized through a memory copy
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2726 * of the parent class, the general rule is that GBaseInitFunc() and
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2727 * GBaseFinalizeFunc() should take care of necessary reinitialization
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2728 * and release of those class members that were introduced by the type
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2729 * that specified these GBaseInitFunc()/GBaseFinalizeFunc().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2730 * GClassInitFunc() should only care about initializing static
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2731 * class members, while dynamic class members (such as allocated strings
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2732 * or reference counted resources) are better handled by a GBaseInitFunc()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2733 * for this type, so proper initialization of the dynamic class members
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2734 * is performed for class initialization of derived types as well.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2735 * An example may help to correspond the intend of the different class
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2736 * initializers:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2737 * typedef struct {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2738 * GObjectClass parent_class;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2739 * gint static_integer;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2740 * gchar *dynamic_string;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2741 * } TypeAClass;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2742 * static void
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2743 * type_a_base_class_init (TypeAClass *class)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2744 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2745 * class->dynamic_string = g_strdup ("some string");
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2746 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2747 * static void
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2748 * type_a_base_class_finalize (TypeAClass *class)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2749 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2750 * g_free (class->dynamic_string);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2751 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2752 * static void
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2753 * type_a_class_init (TypeAClass *class)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2754 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2755 * class->static_integer = 42;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2756 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2757 * typedef struct {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2758 * TypeAClass parent_class;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2759 * gfloat static_float;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2760 * GString *dynamic_gstring;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2761 * } TypeBClass;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2762 * static void
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2763 * type_b_base_class_init (TypeBClass *class)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2764 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2765 * class->dynamic_gstring = g_string_new ("some other string");
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2766 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2767 * static void
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2768 * type_b_base_class_finalize (TypeBClass *class)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2769 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2770 * g_string_free (class->dynamic_gstring);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2771 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2772 * static void
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2773 * type_b_class_init (TypeBClass *class)
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2774 * {
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2775 * class->static_float = 3.14159265358979323846;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2776 * }
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2777 * Initialization of TypeBClass will first cause initialization of
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2778 * TypeAClass (derived classes reference their parent classes, see
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2779 * g_type_class_ref() on this).
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2780 * Initialization of TypeAClass roughly involves zero-initializing its fields,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2781 * then calling its GBaseInitFunc() type_a_base_class_init() to allocate
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2782 * its dynamic members (dynamic_string), and finally calling its GClassInitFunc()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2783 * type_a_class_init() to initialize its static members (static_integer).
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2784 * The first step in the initialization process of TypeBClass is then
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2785 * a plain memory copy of the contents of TypeAClass into TypeBClass and
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2786 * zero-initialization of the remaining fields in TypeBClass.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2787 * The dynamic members of TypeAClass within TypeBClass now need
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2788 * reinitialization which is performed by calling type_a_base_class_init()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2789 * with an argument of TypeBClass.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2790 * After that, the GBaseInitFunc() of TypeBClass, type_b_base_class_init()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2791 * is called to allocate the dynamic members of TypeBClass (dynamic_gstring),
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2792 * and finally the GClassInitFunc() of TypeBClass, type_b_class_init(),
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2793 * is called to complete the initialization process with the static members
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2794 * (static_float).
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2795 * Corresponding finalization counter parts to the GBaseInitFunc() functions
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2796 * have to be provided to release allocated resources at class finalization
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2797 * time.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2798 * g_class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2799 * The GTypeClass structure to initialize.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2800 * class_data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2801 * The class_data member supplied via the GTypeInfo structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2802 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2803 // void (*GClassInitFunc) (gpointer g_class, gpointer class_data);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2804 public typedef extern(C) void function (void*, void*) GClassInitFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2805
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2806 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2807 * A callback function used by the type system to finalize a class.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2808 * This function is rarely needed, as dynamically allocated class resources
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2809 * should be handled by GBaseInitFunc() and GBaseFinalizeFunc().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2810 * Also, specification of a GClassFinalizeFunc() in the GTypeInfo
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2811 * structure of a static type is invalid, because classes of static types
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2812 * will never be finalized (they are artificially kept alive when their
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2813 * reference count drops to zero).
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2814 * g_class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2815 * The GTypeClass structure to finalize.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2816 * class_data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2817 * The class_data member supplied via the GTypeInfo structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2818 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2819 // void (*GClassFinalizeFunc) (gpointer g_class, gpointer class_data);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2820 public typedef extern(C) void function (void*, void*) GClassFinalizeFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2821
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2822 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2823 * A callback function used by the type system to initialize a new
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2824 * instance of a type. This function initializes all instance members and
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2825 * allocates any resources required by it.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2826 * Initialization of a derived instance involves calling all its parent
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2827 * types instance initializers, so the class member of the instance
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2828 * is altered during its initialization to always point to the class that
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2829 * belongs to the type the current initializer was introduced for.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2830 * instance:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2831 * The instance to initialize.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2832 * g_class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2833 * The class of the type the instance is created for.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2834 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2835 // void (*GInstanceInitFunc) (GTypeInstance *instance, gpointer g_class);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2836 public typedef extern(C) void function (GTypeInstance*, void*) GInstanceInitFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2837
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2838 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2839 * A callback function used by the type system to initialize a new
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2840 * interface. This function should initialize all internal data and
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2841 * allocate any resources required by the interface.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2842 * g_iface:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2843 * The interface structure to initialize.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2844 * iface_data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2845 * The class_data supplied via the GTypeInfo structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2846 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2847 // void (*GInterfaceInitFunc) (gpointer g_iface, gpointer iface_data);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2848 public typedef extern(C) void function (void*, void*) GInterfaceInitFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2849
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2850 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2851 * A callback function used by the type system to finalize an interface.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2852 * This function should destroy any internal data and release any resources
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2853 * allocated by the corresponding GInterfaceInitFunc() function.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2854 * g_iface:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2855 * The interface structure to finalize.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2856 * iface_data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2857 * The class_data supplied via the GTypeInfo structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2858 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2859 // void (*GInterfaceFinalizeFunc) (gpointer g_iface, gpointer iface_data);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2860 public typedef extern(C) void function (void*, void*) GInterfaceFinalizeFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2861
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2862 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2863 * A callback function which is called when the reference count of a class
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2864 * drops to zero. It may use g_type_class_ref() to prevent the class from
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2865 * being freed. You should not call g_type_class_unref() from a
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2866 * GTypeClassCacheFunc function to prevent infinite recursion, use
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2867 * g_type_class_unref_uncached() instead.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2868 * The functions have to check the class id passed in to figure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2869 * whether they actually want to cache the class of this type, since all
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2870 * classes are routed through the same GTypeClassCacheFunc chain.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2871 * cache_data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2872 * data that was given to the g_type_add_class_cache_func() call
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2873 * g_class:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2874 * The GTypeClass structure which is unreferenced
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2875 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2876 * TRUE to stop further GTypeClassCacheFuncs from being
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2877 * called, FALSE to continue.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2878 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2879 // gboolean (*GTypeClassCacheFunc) (gpointer cache_data, GTypeClass *g_class);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2880 public typedef extern(C) int function (void*, GTypeClass*) GTypeClassCacheFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2881
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2882 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2883 * A callback called after an interface vtable is initialized.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2884 * See g_type_add_interface_check().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2885 * check_data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2886 * data passed to g_type_add_interface_check().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2887 * g_iface:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2888 * the interface that has been initialized
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2889 * Since 2.4
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2890 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2891 // void (*GTypeInterfaceCheckFunc) (gpointer check_data, gpointer g_iface);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2892 public typedef extern(C) void function (void*, void*) GTypeInterfaceCheckFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2893
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2894 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2895 * The type of the use_plugin function of GTypePluginClass, which gets called
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2896 * to increase the use count of plugin.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2897 * plugin:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2898 * the GTypePlugin whose use count should be increased
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2899 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2900 // void (*GTypePluginUse) (GTypePlugin *plugin);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2901 public typedef extern(C) void function (GTypePlugin*) GTypePluginUse;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2902
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2903 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2904 * The type of the unuse_plugin function of GTypePluginClass.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2905 * plugin:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2906 * the GTypePlugin whose use count should be decreased
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2907 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2908 // void (*GTypePluginUnuse) (GTypePlugin *plugin);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2909 public typedef extern(C) void function (GTypePlugin*) GTypePluginUnuse;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2910
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2911 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2912 * The type of the complete_type_info function of GTypePluginClass.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2913 * plugin:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2914 * the GTypePlugin
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2915 * g_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2916 * the GType whose info is completed
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2917 * info:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2918 * the GTypeInfo struct to fill in
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2919 * value_table:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2920 * the GTypeValueTable to fill in
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2921 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2922 // void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin, GType g_type, GTypeInfo *info, GTypeValueTable *value_table);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2923 public typedef extern(C) void function (GTypePlugin*, GType, GTypeInfo*, GTypeValueTable*) GTypePluginCompleteTypeInfo;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2924
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2925 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2926 * The type of the complete_interface_info function of GTypePluginClass.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2927 * plugin:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2928 * the GTypePlugin
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2929 * instance_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2930 * the GType of an instantiable type to which the interface
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2931 * is added
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2932 * interface_type:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2933 * the GType of the interface whose info is completed
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2934 * info:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2935 * the GInterfaceInfo to fill in
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2936 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2937 // void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin, GType instance_type, GType interface_type, GInterfaceInfo *info);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2938 public typedef extern(C) void function (GTypePlugin*, GType, GType, GInterfaceInfo*) GTypePluginCompleteInterfaceInfo;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2939
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2940 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2941 * The type of the get_property function of GObjectClass.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2942 * object:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2943 * a GObject
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2944 * property_id:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2945 * the numeric id under which the property was registered with
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2946 * g_object_class_install_property().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2947 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2948 * a GValue to return the property value in
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2949 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2950 * the GParamSpec describing the property
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2951 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2952 // void (*GObjectGetPropertyFunc) (GObject *object, guint property_id, GValue *value, GParamSpec *pspec);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2953 public typedef extern(C) void function (GObject*, uint, GValue*, GParamSpec*) GObjectGetPropertyFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2954
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2955 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2956 * The type of the set_property function of GObjectClass.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2957 * object:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2958 * a GObject
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2959 * property_id:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2960 * the numeric id under which the property was registered with
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2961 * g_object_class_install_property().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2962 * value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2963 * the new value for the property
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2964 * pspec:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2965 * the GParamSpec describing the property
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2966 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2967 // void (*GObjectSetPropertyFunc) (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2968 public typedef extern(C) void function (GObject*, uint, GValue*, GParamSpec*) GObjectSetPropertyFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2969
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2970 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2971 * The type of the finalize function of GObjectClass.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2972 * object:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2973 * the GObject being finalized
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2974 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2975 // void (*GObjectFinalizeFunc) (GObject *object);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2976 public typedef extern(C) void function (GObject*) GObjectFinalizeFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2977
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2978 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2979 * A GWeakNotify function can be added to an object as a callback that gets
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2980 * triggered when the object is finalized. Since the object is already being
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2981 * finalized when the GWeakNotify is called, there's not much you could do
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2982 * with the object, apart from e.g. using its adress as hash-index or the like.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2983 * data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2984 * data that was provided when the weak reference was established
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2985 * where_the_object_was:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2986 * the object being finalized
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2987 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2988 // void (*GWeakNotify) (gpointer data, GObject *where_the_object_was);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2989 public typedef extern(C) void function (void*, GObject*) GWeakNotify;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2990
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2991 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2992 * A callback function used for notification when the state
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2993 * of a toggle reference changes. See g_object_add_toggle_ref().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2994 * data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2995 * Callback data passed to g_object_add_toggle_ref()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2996 * object:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2997 * The object on which g_object_add_toggle_ref() was called.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2998 * is_last_ref:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
2999 * TRUE if the toggle reference is now the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3000 * last reference to the object. FALSE if the toggle
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3001 * reference was the last reference and there are now other
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3002 * references.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3003 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3004 // void (*GToggleNotify) (gpointer data, GObject *object, gboolean is_last_ref);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3005 public typedef extern(C) void function (void*, GObject*, int) GToggleNotify;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3006
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3007 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3008 * This function is provided by the user and should produce a copy of the passed
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3009 * in boxed structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3010 * boxed:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3011 * The boxed structure to be copied.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3012 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3013 * The newly created copy of the boxed structure.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3014 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3015 // gpointer (*GBoxedCopyFunc) (gpointer boxed);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3016 public typedef extern(C) void* function (void*) GBoxedCopyFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3017
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3018 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3019 * This function is provided by the user and should free the boxed
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3020 * structure passed.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3021 * boxed:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3022 * The boxed structure to be freed.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3023 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3024 // void (*GBoxedFreeFunc) (gpointer boxed);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3025 public typedef extern(C) void function (void*) GBoxedFreeFunc;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3026
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3027 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3028 * The type of value transformation functions which can be registered with
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3029 * g_value_register_transform_func().
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3030 * src_value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3031 * Source value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3032 * dest_value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3033 * Target value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3034 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3035 // void (*GValueTransform) (const GValue *src_value, GValue *dest_value);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3036 public typedef extern(C) void function (GValue*, GValue*) GValueTransform;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3037
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3038 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3039 * The signal accumulator is a special callback function that can be used
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3040 * to collect return values of the various callbacks that are called
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3041 * during a signal emission. The signal accumulator is specified at signal
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3042 * creation time, if it is left NULL, no accumulation of callback return
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3043 * values is performed. The return value of signal emissions is then the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3044 * value returned by the last callback.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3045 * ihint:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3046 * Signal invocation hint, see GSignalInvocationHint.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3047 * return_accu:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3048 * Accumulator to collect callback return values in, this
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3049 * is the return value of the current signal emission.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3050 * handler_return:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3051 * A GValue holding the return value of the signal handler.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3052 * data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3053 * Callback data that was specified when creating the signal.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3054 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3055 * The accumulator function returns whether the signal emission
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3056 * should be aborted. Returning FALSE means to abort the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3057 * current emission and TRUE is returned for continuation.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3058 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3059 // gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint, GValue *return_accu, const GValue *handler_return, gpointer data);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3060 public typedef extern(C) int function (GSignalInvocationHint*, GValue*, GValue*, void*) GSignalAccumulator;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3061
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3062 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3063 * A simple function pointer to get invoked when the signal is emitted. This
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3064 * allows you to tie a hook to the signal type, so that it will trap all
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3065 * emissions of that signal, from any object.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3066 * You may not attach these to signals created with the G_SIGNAL_NO_HOOKS flag.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3067 * ihint:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3068 * Signal invocation hint, see GSignalInvocationHint.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3069 * n_param_values:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3070 * the number of parameters to the function, including
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3071 * the instance on which the signal was emitted.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3072 * param_values:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3073 * the instance on which the signal was emitted, followed by the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3074 * parameters of the emission.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3075 * data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3076 * user data associated with the hook.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3077 * Returns:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3078 * whether it wants to stay connected. If it returns FALSE, the signal
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3079 * hook is disconnected (and destroyed).
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3080 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3081 // gboolean (*GSignalEmissionHook) (GSignalInvocationHint *ihint, guint n_param_values, const GValue *param_values, gpointer data);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3082 public typedef extern(C) int function (GSignalInvocationHint*, uint, GValue*, void*) GSignalEmissionHook;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3083
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3084 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3085 * The type used for callback functions in structure definitions and function
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3086 * signatures. This doesn't mean that all callback functions must take no
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3087 * parameters and return void. The required signature of a callback function
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3088 * is determined by the context in which is used (e.g. the signal to which it
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3089 * is connected). Use G_CALLBACK() to cast the callback function to a GCallback.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3090 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3091 // void (*GCallback) (void);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3092 public typedef extern(C) void function () GCallback;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3093
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3094 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3095 * The type used for marshaller functions.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3096 * closure:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3097 * the GClosure to which the marshaller belongs
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3098 * return_value:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3099 * a GValue to store the return value. May be NULL if the
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3100 * callback of closure doesn't return a value.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3101 * n_param_values:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3102 * the length of the param_values array
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3103 * param_values:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3104 * an array of GValues holding the arguments on
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3105 * which to invoke the callback of closure
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3106 * invocation_hint:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3107 * the invocation hint given as the the last argument
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3108 * to g_closure_invoke()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3109 * marshal_data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3110 * additional data specified when registering the marshaller,
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3111 * see g_closure_set_marshal() and g_closure_set_meta_marshal()
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3112 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3113 // void (*GClosureMarshal) (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3114 public typedef extern(C) void function (GClosure*, GValue*, uint, GValue*, void*, void*) GClosureMarshal;
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3115
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3116 /*
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3117 * The type used for the various notification callbacks which can be registered
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3118 * on closures.
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3119 * data:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3120 * data specified when registering the notification callback
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3121 * closure:
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3122 * the GClosure on which the notification is emitted
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3123 */
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3124 // void (*GClosureNotify) (gpointer data, GClosure *closure);
5f725d09c076 Added dynamic loader from gtkd with cleanup and modifications. Tango only support. No OS.d tie-in yet.
John Reimer<terminal.node@gmail.com>
parents:
diff changeset
3125 public typedef extern(C) void function (void*, GClosure*) GClosureNotify;