1 { This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. } 2 unit LazGObject2; 3 4 {$MODE OBJFPC}{$H+} 5 6 {$PACKRECORDS C} 7 {$MODESWITCH DUPLICATELOCALS+} 8 9 {$LINKLIB libgobject-2.0.so.0} 10 interface 11 uses 12 CTypes, LazGLib2; 13 14 const 15 GObject2_library = 'libgobject-2.0.so.0'; 16 17 G_PARAM_MASK = 255; 18 G_PARAM_READWRITE = 0; 19 G_PARAM_STATIC_STRINGS = 0; 20 G_PARAM_USER_SHIFT = 8; 21 G_SIGNAL_FLAGS_MASK = 511; 22 G_SIGNAL_MATCH_MASK = 63; 23 G_TYPE_FLAG_RESERVED_ID_BIT = 1; 24 G_TYPE_FUNDAMENTAL_MAX = 255; 25 G_TYPE_FUNDAMENTAL_SHIFT = 2; 26 G_TYPE_RESERVED_BSE_FIRST = 32; 27 G_TYPE_RESERVED_BSE_LAST = 48; 28 G_TYPE_RESERVED_GLIB_FIRST = 22; 29 G_TYPE_RESERVED_GLIB_LAST = 31; 30 G_TYPE_RESERVED_USER_FIRST = 49; 31 G_VALUE_COLLECT_FORMAT_MAX_LENGTH = 8; 32 G_VALUE_NOCOPY_CONTENTS = 134217728; 33 34 type 35 TGBindingFlags = Integer; 36 const 37 { GBindingFlags } 38 G_BINDING_DEFAULT: TGBindingFlags = 0; 39 G_BINDING_BIDIRECTIONAL: TGBindingFlags = 1; 40 G_BINDING_SYNC_CREATE: TGBindingFlags = 2; 41 G_BINDING_INVERT_BOOLEAN: TGBindingFlags = 4; 42 43 type 44 TGConnectFlags = Integer; 45 const 46 { GConnectFlags } 47 G_CONNECT_AFTER: TGConnectFlags = 1; 48 G_CONNECT_SWAPPED: TGConnectFlags = 2; 49 50 type 51 TGParamFlags = DWord; 52 const 53 { GParamFlags } 54 G_PARAM_READABLE: TGParamFlags = 1; 55 G_PARAM_WRITABLE: TGParamFlags = 2; 56 G_PARAM_CONSTRUCT: TGParamFlags = 4; 57 G_PARAM_CONSTRUCT_ONLY: TGParamFlags = 8; 58 G_PARAM_LAX_VALIDATION: TGParamFlags = 16; 59 G_PARAM_STATIC_NAME: TGParamFlags = 32; 60 G_PARAM_PRIVATE: TGParamFlags = 32; 61 G_PARAM_STATIC_NICK: TGParamFlags = 64; 62 G_PARAM_STATIC_BLURB: TGParamFlags = 128; 63 G_PARAM_DEPRECATED: TGParamFlags = 2147483648; 64 65 type 66 TGSignalFlags = Integer; 67 const 68 { GSignalFlags } 69 G_SIGNAL_RUN_FIRST: TGSignalFlags = 1; 70 G_SIGNAL_RUN_LAST: TGSignalFlags = 2; 71 G_SIGNAL_RUN_CLEANUP: TGSignalFlags = 4; 72 G_SIGNAL_NO_RECURSE: TGSignalFlags = 8; 73 G_SIGNAL_DETAILED: TGSignalFlags = 16; 74 G_SIGNAL_ACTION: TGSignalFlags = 32; 75 G_SIGNAL_NO_HOOKS: TGSignalFlags = 64; 76 G_SIGNAL_MUST_COLLECT: TGSignalFlags = 128; 77 G_SIGNAL_DEPRECATED: TGSignalFlags = 256; 78 79 type 80 TGSignalMatchType = Integer; 81 const 82 { GSignalMatchType } 83 G_SIGNAL_MATCH_ID: TGSignalMatchType = 1; 84 G_SIGNAL_MATCH_DETAIL: TGSignalMatchType = 2; 85 G_SIGNAL_MATCH_CLOSURE: TGSignalMatchType = 4; 86 G_SIGNAL_MATCH_FUNC: TGSignalMatchType = 8; 87 G_SIGNAL_MATCH_DATA: TGSignalMatchType = 16; 88 G_SIGNAL_MATCH_UNBLOCKED: TGSignalMatchType = 32; 89 90 type 91 TGTypeDebugFlags = Integer; 92 const 93 { GTypeDebugFlags } 94 G_TYPE_DEBUG_NONE: TGTypeDebugFlags = 0; 95 G_TYPE_DEBUG_OBJECTS: TGTypeDebugFlags = 1; 96 G_TYPE_DEBUG_SIGNALS: TGTypeDebugFlags = 2; 97 G_TYPE_DEBUG_MASK: TGTypeDebugFlags = 3; 98 99 type 100 TGTypeFlags = Integer; 101 const 102 { GTypeFlags } 103 G_TYPE_FLAG_ABSTRACT: TGTypeFlags = 16; 104 G_TYPE_FLAG_VALUE_ABSTRACT: TGTypeFlags = 32; 105 106 type 107 TGTypeFundamentalFlags = Integer; 108 const 109 { GTypeFundamentalFlags } 110 G_TYPE_FLAG_CLASSED: TGTypeFundamentalFlags = 1; 111 G_TYPE_FLAG_INSTANTIATABLE: TGTypeFundamentalFlags = 2; 112 G_TYPE_FLAG_DERIVABLE: TGTypeFundamentalFlags = 4; 113 G_TYPE_FLAG_DEEP_DERIVABLE: TGTypeFundamentalFlags = 8; 114 type 115 116 PPGClosure = ^PGClosure; 117 PGClosure = ^TGClosure; 118 119 PPPGValue = ^PPGValue; 120 PPGValue = ^PGValue; 121 PGValue = ^TGValue; 122 TGClosureMarshal = procedure(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; 123 124 PPGSignalCMarshaller = ^PGSignalCMarshaller; 125 PGSignalCMarshaller = ^TGSignalCMarshaller; 126 TGSignalCMarshaller = TGClosureMarshal; 127 TGVaClosureMarshal = procedure(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; 128 129 PPGSignalCVaMarshaller = ^PGSignalCVaMarshaller; 130 PGSignalCVaMarshaller = ^TGSignalCVaMarshaller; 131 TGSignalCVaMarshaller = TGVaClosureMarshal; 132 133 PPGType = ^PGType; 134 PGType = ^TGType; 135 TGType = gsize; 136 TGBaseFinalizeFunc = procedure(g_class: gpointer); cdecl; 137 TGBaseInitFunc = procedure(g_class: gpointer); cdecl; 138 139 PPGBindingFlags = ^PGBindingFlags; 140 PGBindingFlags = ^TGBindingFlags; 141 142 PPGBinding = ^PGBinding; 143 PGBinding = ^TGBinding; 144 145 PPGObject = ^PGObject; 146 PGObject = ^TGObject; 147 148 PPGParameter = ^PGParameter; 149 PGParameter = ^TGParameter; 150 151 PPGParamSpec = ^PGParamSpec; 152 PGParamSpec = ^TGParamSpec; 153 154 PPGToggleNotify = ^PGToggleNotify; 155 PGToggleNotify = ^TGToggleNotify; 156 TGToggleNotify = procedure(data: gpointer; object_: PGObject; is_last_ref: gboolean); cdecl; 157 158 PPGBindingTransformFunc = ^PGBindingTransformFunc; 159 PGBindingTransformFunc = ^TGBindingTransformFunc; indingnull160 TGBindingTransformFunc = function(binding: PGBinding; source_value: PGValue; target_value: PGValue; user_data: gpointer): gboolean; cdecl; 161 162 PPGWeakNotify = ^PGWeakNotify; 163 PGWeakNotify = ^TGWeakNotify; 164 TGWeakNotify = procedure(data: gpointer; where_the_object_was: PGObject); cdecl; 165 166 PPGTypeInstance = ^PGTypeInstance; 167 PGTypeInstance = ^TGTypeInstance; 168 169 PPGTypeClass = ^PGTypeClass; 170 PGTypeClass = ^TGTypeClass; 171 TGTypeInstance = object 172 g_class: PGTypeClass; get_privatenull173 function get_private(private_type: TGType): gpointer; cdecl; inline; 174 end; 175 TGObject = object 176 g_type_instance: TGTypeInstance; 177 ref_count: guint; 178 qdata: PGData; new_valistnull179 //function new_valist(object_type: TGType; first_property_name: Pgchar; var_args: Tva_list): PGObject; cdecl; inline; static; 180 function newv(object_type: TGType; n_parameters: guint; parameters: PGParameter): PGObject; cdecl; inline; static; compat_controlnull181 function compat_control(what: gsize; data: gpointer): gsize; cdecl; inline; static; connectnull182 //function connect(object_: gpointer; signal_spec: Pgchar; args: array of const): gpointer; cdecl; inline; static; 183 //procedure disconnect(object_: gpointer; signal_spec: Pgchar; args: array of const); cdecl; inline; static; 184 //procedure get(object_: gpointer; first_property_name: Pgchar; args: array of const); cdecl; inline; static; 185 function interface_find_property(g_iface: gpointer; property_name: Pgchar): PGParamSpec; cdecl; inline; static; 186 procedure interface_install_property(g_iface: gpointer; pspec: PGParamSpec); cdecl; inline; static; interface_list_propertiesnull187 function interface_list_properties(g_iface: gpointer; n_properties_p: Pguint): PPGParamSpec; cdecl; inline; static; newnull188 //function new(object_type: TGType; first_property_name: Pgchar; args: array of const): gpointer; cdecl; inline; static; 189 //procedure set_(object_: gpointer; first_property_name: Pgchar; args: array of const); cdecl; inline; static; 190 procedure add_toggle_ref(notify: TGToggleNotify; data: gpointer); cdecl; inline; 191 procedure add_weak_pointer(weak_pointer_location: Pgpointer); cdecl; inline; bind_propertynull192 function bind_property(source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags): PGBinding; cdecl; inline; bind_property_fullnull193 function bind_property_full(source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags; transform_to: TGBindingTransformFunc; transform_from: TGBindingTransformFunc; user_data: gpointer; notify: TGDestroyNotify): PGBinding; cdecl; inline; bind_property_with_closuresnull194 function bind_property_with_closures(source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags; transform_to: PGClosure; transform_from: PGClosure): PGBinding; cdecl; inline; dup_datanull195 function dup_data(key: Pgchar; dup_func: TGDuplicateFunc; user_data: gpointer): gpointer; cdecl; inline; dup_qdatanull196 function dup_qdata(quark: TGQuark; dup_func: TGDuplicateFunc; user_data: gpointer): gpointer; cdecl; inline; 197 procedure force_floating; cdecl; inline; 198 procedure freeze_notify; cdecl; inline; get_datanull199 function get_data(key: Pgchar): gpointer; cdecl; inline; 200 procedure get_property(property_name: Pgchar; value: PGValue); cdecl; inline; get_qdatanull201 function get_qdata(quark: TGQuark): gpointer; cdecl; inline; 202 //procedure get_valist(first_property_name: Pgchar; var_args: Tva_list); cdecl; inline; is_floatingnull203 function is_floating: gboolean; cdecl; inline; 204 procedure notify(property_name: Pgchar); cdecl; inline; 205 procedure notify_by_pspec(pspec: PGParamSpec); cdecl; inline; refnull206 function ref: PGObject; cdecl; inline; ref_sinknull207 function ref_sink: PGObject; cdecl; inline; 208 procedure remove_toggle_ref(notify: TGToggleNotify; data: gpointer); cdecl; inline; 209 procedure remove_weak_pointer(weak_pointer_location: Pgpointer); cdecl; inline; replace_datanull210 function replace_data(key: Pgchar; oldval: gpointer; newval: gpointer; destroy_: TGDestroyNotify; old_destroy: PGDestroyNotify): gboolean; cdecl; inline; replace_qdatanull211 function replace_qdata(quark: TGQuark; oldval: gpointer; newval: gpointer; destroy_: TGDestroyNotify; old_destroy: PGDestroyNotify): gboolean; cdecl; inline; 212 procedure run_dispose; cdecl; inline; 213 procedure set_data(key: Pgchar; data: gpointer); cdecl; inline; 214 procedure set_data_full(key: Pgchar; data: gpointer; destroy_: TGDestroyNotify); cdecl; inline; 215 procedure set_property(property_name: Pgchar; value: PGValue); cdecl; inline; 216 procedure set_qdata(quark: TGQuark; data: gpointer); cdecl; inline; 217 procedure set_qdata_full(quark: TGQuark; data: gpointer; destroy_: TGDestroyNotify); cdecl; inline; 218 //procedure set_valist(first_property_name: Pgchar; var_args: Tva_list); cdecl; inline; steal_datanull219 function steal_data(key: Pgchar): gpointer; cdecl; inline; steal_qdatanull220 function steal_qdata(quark: TGQuark): gpointer; cdecl; inline; 221 procedure thaw_notify; cdecl; inline; 222 procedure unref; cdecl; inline; 223 procedure watch_closure(closure: PGClosure); cdecl; inline; 224 procedure weak_ref(notify: TGWeakNotify; data: gpointer); cdecl; inline; 225 procedure weak_unref(notify: TGWeakNotify; data: gpointer); cdecl; inline; 226 end; 227 TGBinding = object(TGObject) get_flagsnull228 function get_flags: TGBindingFlags; cdecl; inline; get_sourcenull229 function get_source: PGObject; cdecl; inline; get_source_propertynull230 function get_source_property: Pgchar; cdecl; inline; get_targetnull231 function get_target: PGObject; cdecl; inline; get_target_propertynull232 function get_target_property: Pgchar; cdecl; inline; 233 property flags: TGBindingFlags read get_flags { property is writeable but setter not declared } ; 234 property source: PGObject read get_source { property is writeable but setter not declared } ; 235 property source_property: Pgchar read get_source_property { property is writeable but setter not declared } ; 236 property target: PGObject read get_target { property is writeable but setter not declared } ; 237 property target_property: Pgchar read get_target_property { property is writeable but setter not declared } ; 238 end; 239 240 PPGValueTransform = ^PGValueTransform; 241 PGValueTransform = ^TGValueTransform; 242 TGValueTransform = procedure(src_value: PGValue; dest_value: PGValue); cdecl; 243 244 PP_Value__data__union = ^P_Value__data__union; 245 P_Value__data__union = ^T_Value__data__union; 246 T_Value__data__union = record 247 case longint of 248 0 : (v_int: gint); 249 1 : (v_uint: guint); 250 2 : (v_long: glong); 251 3 : (v_ulong: gulong); 252 4 : (v_int64: gint64); 253 5 : (v_uint64: guint64); 254 6 : (v_float: gfloat); 255 7 : (v_double: gdouble); 256 8 : (v_pointer: gpointer); 257 end; 258 259 260 TGValue = object 261 g_type: TGType; 262 data: array [0..1] of T_Value__data__union; 263 procedure copy(dest_value: PGValue); cdecl; inline; dup_boxednull264 function dup_boxed: gpointer; cdecl; inline; dup_objectnull265 function dup_object: PGObject; cdecl; inline; dup_paramnull266 function dup_param: PGParamSpec; cdecl; inline; dup_stringnull267 function dup_string: Pgchar; cdecl; inline; dup_variantnull268 function dup_variant: PGVariant; cdecl; inline; fits_pointernull269 function fits_pointer: gboolean; cdecl; inline; get_booleannull270 function get_boolean: gboolean; cdecl; inline; get_boxednull271 function get_boxed: gpointer; cdecl; inline; get_doublenull272 function get_double: gdouble; cdecl; inline; get_enumnull273 function get_enum: gint; cdecl; inline; get_flagsnull274 function get_flags: guint; cdecl; inline; get_floatnull275 function get_float: gfloat; cdecl; inline; get_gtypenull276 function get_gtype: TGType; cdecl; inline; get_intnull277 function get_int: gint; cdecl; inline; get_int64null278 function get_int64: gint64; cdecl; inline; get_longnull279 function get_long: glong; cdecl; inline; get_objectnull280 function get_object: PGObject; cdecl; inline; get_paramnull281 function get_param: PGParamSpec; cdecl; inline; get_pointernull282 function get_pointer: gpointer; cdecl; inline; get_scharnull283 function get_schar: gint8; cdecl; inline; get_stringnull284 function get_string: Pgchar; cdecl; inline; get_ucharnull285 function get_uchar: guint8; cdecl; inline; get_uintnull286 function get_uint: guint; cdecl; inline; get_uint64null287 function get_uint64: guint64; cdecl; inline; get_ulongnull288 function get_ulong: gulong; cdecl; inline; get_variantnull289 function get_variant: PGVariant; cdecl; inline; initnull290 function init(g_type: TGType): PGValue; cdecl; inline; peek_pointernull291 function peek_pointer: gpointer; cdecl; inline; resetnull292 function reset: PGValue; cdecl; inline; 293 procedure set_boolean(v_boolean: gboolean); cdecl; inline; 294 procedure set_boxed(v_boxed: Pgpointer); cdecl; inline; 295 procedure set_double(v_double: gdouble); cdecl; inline; 296 procedure set_enum(v_enum: gint); cdecl; inline; 297 procedure set_flags(v_flags: guint); cdecl; inline; 298 procedure set_float(v_float: gfloat); cdecl; inline; 299 procedure set_gtype(v_gtype: TGType); cdecl; inline; 300 procedure set_instance(instance: gpointer); cdecl; inline; 301 procedure set_int(v_int: gint); cdecl; inline; 302 procedure set_int64(v_int64: gint64); cdecl; inline; 303 procedure set_long(v_long: glong); cdecl; inline; 304 procedure set_object(v_object: PGObject); cdecl; inline; 305 procedure set_param(param: PGParamSpec); cdecl; inline; 306 procedure set_pointer(v_pointer: gpointer); cdecl; inline; 307 procedure set_schar(v_char: gint8); cdecl; inline; 308 procedure set_static_boxed(v_boxed: Pgpointer); cdecl; inline; 309 procedure set_static_string(v_string: Pgchar); cdecl; inline; 310 procedure set_string(v_string: Pgchar); cdecl; inline; 311 procedure set_uchar(v_uchar: guint8); cdecl; inline; 312 procedure set_uint(v_uint: guint); cdecl; inline; 313 procedure set_uint64(v_uint64: guint64); cdecl; inline; 314 procedure set_ulong(v_ulong: gulong); cdecl; inline; 315 procedure set_variant(variant: PGVariant); cdecl; inline; 316 procedure take_boxed(v_boxed: Pgpointer); cdecl; inline; 317 procedure take_object(v_object: gpointer); cdecl; inline; 318 procedure take_param(param: PGParamSpec); cdecl; inline; 319 procedure take_string(v_string: Pgchar); cdecl; inline; 320 procedure take_variant(variant: PGVariant); cdecl; inline; transformnull321 function transform(dest_value: PGValue): gboolean; cdecl; inline; 322 procedure unset; cdecl; inline; 323 procedure register_transform_func(src_type: TGType; dest_type: TGType; transform_func: TGValueTransform); cdecl; inline; static; type_compatiblenull324 function type_compatible(src_type: TGType; dest_type: TGType): gboolean; cdecl; inline; static; type_transformablenull325 function type_transformable(src_type: TGType; dest_type: TGType): gboolean; cdecl; inline; static; 326 procedure clear; inline; 327 end; oxednull328 TGBoxedCopyFunc = function(boxed: gpointer): gpointer; cdecl; 329 TGBoxedFreeFunc = procedure(boxed: gpointer); cdecl; 330 331 PPGClosureNotify = ^PGClosureNotify; 332 PGClosureNotify = ^TGClosureNotify; 333 TGClosureNotify = procedure(data: gpointer; closure: PGClosure); cdecl; 334 335 PPGClosureMarshal = ^PGClosureMarshal; 336 PGClosureMarshal = ^TGClosureMarshal; 337 TGClosureBitfield0 = bitpacked record 338 ref_count: guint15 { changed from guint to accomodate 15 bitsize requirement }; 339 meta_marshal_nouse: guint1 { changed from guint to accomodate 1 bitsize requirement }; 340 n_guards: guint1 { changed from guint to accomodate 1 bitsize requirement }; 341 n_fnotifiers: guint2 { changed from guint to accomodate 2 bitsize requirement }; 342 n_inotifiers: guint8 { changed from guint to accomodate 8 bitsize requirement }; 343 in_inotify: guint1 { changed from guint to accomodate 1 bitsize requirement }; 344 floating: guint1 { changed from guint to accomodate 1 bitsize requirement }; 345 derivative_flag: guint1 { changed from guint to accomodate 1 bitsize requirement }; 346 in_marshal: guint1 { changed from guint to accomodate 1 bitsize requirement }; 347 is_invalid: guint1 { changed from guint to accomodate 1 bitsize requirement }; 348 end; 349 350 351 PPGClosureNotifyData = ^PGClosureNotifyData; 352 PGClosureNotifyData = ^TGClosureNotifyData; 353 TGClosure = object 354 Bitfield0 : TGClosureBitfield0; { auto generated type } 355 marshal: procedure(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; 356 data: gpointer; 357 notifiers: PGClosureNotifyData; new_objectnull358 function new_object(sizeof_closure: guint; object_: PGObject): PGClosure; cdecl; inline; static; new_simplenull359 function new_simple(sizeof_closure: guint; data: gpointer): PGClosure; cdecl; inline; static; 360 procedure add_finalize_notifier(notify_data: gpointer; notify_func: TGClosureNotify); cdecl; inline; 361 procedure add_invalidate_notifier(notify_data: gpointer; notify_func: TGClosureNotify); cdecl; inline; 362 procedure add_marshal_guards(pre_marshal_data: gpointer; pre_marshal_notify: TGClosureNotify; post_marshal_data: gpointer; post_marshal_notify: TGClosureNotify); cdecl; inline; 363 procedure invalidate; cdecl; inline; 364 procedure invoke(return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer); cdecl; inline; refnull365 function ref: PGClosure; cdecl; inline; 366 procedure remove_finalize_notifier(notify_data: gpointer; notify_func: TGClosureNotify); cdecl; inline; 367 procedure remove_invalidate_notifier(notify_data: gpointer; notify_func: TGClosureNotify); cdecl; inline; 368 procedure set_marshal(marshal: TGClosureMarshal); cdecl; inline; 369 procedure set_meta_marshal(marshal_data: gpointer; meta_marshal: TGClosureMarshal); cdecl; inline; 370 procedure sink; cdecl; inline; 371 procedure unref; cdecl; inline; 372 end; 373 TGCallback = procedure; cdecl; 374 375 PPGCClosure = ^PGCClosure; 376 PGCClosure = ^TGCClosure; 377 378 PPGCallback = ^PGCallback; 379 PGCallback = ^TGCallback; 380 TGCClosure = object 381 closure: TGClosure; 382 callback: gpointer; 383 procedure marshal_BOOLEAN__BOXED_BOXED(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 384 //procedure marshal_BOOLEAN__BOXED_BOXEDv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 385 procedure marshal_BOOLEAN__FLAGS(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 386 //procedure marshal_BOOLEAN__FLAGSv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 387 procedure marshal_STRING__OBJECT_POINTER(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 388 //procedure marshal_STRING__OBJECT_POINTERv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 389 procedure marshal_VOID__BOOLEAN(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 390 //procedure marshal_VOID__BOOLEANv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 391 procedure marshal_VOID__BOXED(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 392 //procedure marshal_VOID__BOXEDv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 393 procedure marshal_VOID__CHAR(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 394 //procedure marshal_VOID__CHARv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 395 procedure marshal_VOID__DOUBLE(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 396 //procedure marshal_VOID__DOUBLEv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 397 procedure marshal_VOID__ENUM(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 398 //procedure marshal_VOID__ENUMv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 399 procedure marshal_VOID__FLAGS(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 400 //procedure marshal_VOID__FLAGSv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 401 procedure marshal_VOID__FLOAT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 402 //procedure marshal_VOID__FLOATv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 403 procedure marshal_VOID__INT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 404 //procedure marshal_VOID__INTv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 405 procedure marshal_VOID__LONG(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 406 //procedure marshal_VOID__LONGv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 407 procedure marshal_VOID__OBJECT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 408 //procedure marshal_VOID__OBJECTv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 409 procedure marshal_VOID__PARAM(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 410 //procedure marshal_VOID__PARAMv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 411 procedure marshal_VOID__POINTER(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 412 //procedure marshal_VOID__POINTERv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 413 procedure marshal_VOID__STRING(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 414 //procedure marshal_VOID__STRINGv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 415 procedure marshal_VOID__UCHAR(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 416 //procedure marshal_VOID__UCHARv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 417 procedure marshal_VOID__UINT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 418 procedure marshal_VOID__UINT_POINTER(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 419 //procedure marshal_VOID__UINT_POINTERv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 420 //procedure marshal_VOID__UINTv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 421 procedure marshal_VOID__ULONG(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 422 //procedure marshal_VOID__ULONGv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 423 procedure marshal_VOID__VARIANT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 424 //procedure marshal_VOID__VARIANTv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 425 procedure marshal_VOID__VOID(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 426 //procedure marshal_VOID__VOIDv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; 427 procedure marshal_generic(closure: PGClosure; return_gvalue: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 428 //procedure marshal_generic_va(closure: PGClosure; return_value: PGValue; instance: gpointer; args_list: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static; newnull429 function new(callback_func: TGCallback; user_data: gpointer; destroy_data: TGClosureNotify): PGClosure; cdecl; inline; static; new_objectnull430 function new_object(callback_func: TGCallback; object_: PGObject): PGClosure; cdecl; inline; static; new_object_swapnull431 function new_object_swap(callback_func: TGCallback; object_: PGObject): PGClosure; cdecl; inline; static; new_swapnull432 function new_swap(callback_func: TGCallback; user_data: gpointer; destroy_data: TGClosureNotify): PGClosure; cdecl; inline; static; 433 end; 434 TGClassFinalizeFunc = procedure(g_class: gpointer; class_data: gpointer); cdecl; 435 TGClassInitFunc = procedure(g_class: gpointer; class_data: gpointer); cdecl; 436 437 TGClosureNotifyData = record 438 data: gpointer; 439 notify: TGClosureNotify; 440 end; 441 442 443 444 PPGConnectFlags = ^PGConnectFlags; 445 PGConnectFlags = ^TGConnectFlags; 446 TGTypeClass = object 447 g_type: TGType; get_privatenull448 function get_private(private_type: TGType): gpointer; cdecl; inline; peek_parentnull449 function peek_parent: PGTypeClass; cdecl; inline; 450 procedure unref; cdecl; inline; 451 procedure unref_uncached; cdecl; inline; 452 procedure add_private(g_class: gpointer; private_size: gsize); cdecl; inline; static; peeknull453 function peek(type_: TGType): PGTypeClass; cdecl; inline; static; peek_staticnull454 function peek_static(type_: TGType): PGTypeClass; cdecl; inline; static; refnull455 function ref(type_: TGType): PGTypeClass; cdecl; inline; static; 456 end; 457 458 PPGEnumValue = ^PGEnumValue; 459 PGEnumValue = ^TGEnumValue; 460 461 TGEnumValue = record 462 value: gint; 463 value_name: Pgchar; 464 value_nick: Pgchar; 465 end; 466 467 468 469 PPGEnumClass = ^PGEnumClass; 470 PGEnumClass = ^TGEnumClass; 471 472 TGEnumClass = record 473 g_type_class: TGTypeClass; 474 minimum: gint; 475 maximum: gint; 476 n_values: guint; 477 values: PGEnumValue; 478 end; 479 480 481 482 PPGFlagsValue = ^PGFlagsValue; 483 PGFlagsValue = ^TGFlagsValue; 484 485 TGFlagsValue = record 486 value: guint; 487 value_name: Pgchar; 488 value_nick: Pgchar; 489 end; 490 491 492 493 PPGFlagsClass = ^PGFlagsClass; 494 PGFlagsClass = ^TGFlagsClass; 495 496 TGFlagsClass = record 497 g_type_class: TGTypeClass; 498 mask: guint; 499 n_values: guint; 500 values: PGFlagsValue; 501 end; 502 503 504 505 PPGInitiallyUnowned = ^PGInitiallyUnowned; 506 PGInitiallyUnowned = ^TGInitiallyUnowned; 507 TGInitiallyUnowned = object(TGObject) 508 end; 509 510 PPGObjectConstructParam = ^PGObjectConstructParam; 511 PGObjectConstructParam = ^TGObjectConstructParam; 512 513 TGObjectConstructParam = record 514 pspec: PGParamSpec; 515 value: PGValue; 516 end; 517 518 519 520 PPGParamFlags = ^PGParamFlags; 521 PGParamFlags = ^TGParamFlags; 522 TGParamSpec = object 523 g_type_instance: TGTypeInstance; 524 name: Pgchar; 525 flags: TGParamFlags; 526 value_type: TGType; 527 owner_type: TGType; 528 _nick: Pgchar; 529 _blurb: Pgchar; 530 qdata: PGData; 531 ref_count: guint; 532 param_id: guint; internalnull533 function internal(param_type: TGType; name: Pgchar; nick: Pgchar; blurb: Pgchar; flags: TGParamFlags): gpointer; cdecl; inline; static; get_blurbnull534 function get_blurb: Pgchar; cdecl; inline; get_namenull535 function get_name: Pgchar; cdecl; inline; get_nicknull536 function get_nick: Pgchar; cdecl; inline; get_qdatanull537 function get_qdata(quark: TGQuark): gpointer; cdecl; inline; get_redirect_targetnull538 function get_redirect_target: PGParamSpec; cdecl; inline; refnull539 function ref: PGParamSpec; cdecl; inline; ref_sinknull540 function ref_sink: PGParamSpec; cdecl; inline; 541 procedure set_qdata(quark: TGQuark; data: gpointer); cdecl; inline; 542 procedure set_qdata_full(quark: TGQuark; data: gpointer; destroy_: TGDestroyNotify); cdecl; inline; 543 procedure sink; cdecl; inline; steal_qdatanull544 function steal_qdata(quark: TGQuark): gpointer; cdecl; inline; 545 procedure unref; cdecl; inline; 546 end; 547 548 PPGInitiallyUnownedClass = ^PGInitiallyUnownedClass; 549 PGInitiallyUnownedClass = ^TGInitiallyUnownedClass; 550 TGInitiallyUnownedClass = object 551 g_type_class: TGTypeClass; 552 construct_properties: PGSList; ype_null553 constructor_: function(type_: TGType; n_construct_properties: guint; construct_properties: PGObjectConstructParam): PGObject; cdecl; 554 set_property: procedure(object_: PGObject; property_id: guint; value: PGValue; pspec: PGParamSpec); cdecl; 555 get_property: procedure(object_: PGObject; property_id: guint; value: PGValue; pspec: PGParamSpec); cdecl; 556 dispose: procedure(object_: PGObject); cdecl; 557 finalize: procedure(object_: PGObject); cdecl; 558 dispatch_properties_changed: procedure(object_: PGObject; n_pspecs: guint; pspecs: PPGParamSpec); cdecl; 559 notify: procedure(object_: PGObject; pspec: PGParamSpec); cdecl; 560 constructed: procedure(object_: PGObject); cdecl; 561 flags: gsize; 562 pdummy: array [0..5] of gpointer; 563 end; 564 TGInstanceInitFunc = procedure(instance: PGTypeInstance; g_class: gpointer); cdecl; 565 TGInterfaceFinalizeFunc = procedure(g_iface: gpointer; iface_data: gpointer); cdecl; 566 TGInterfaceInitFunc = procedure(g_iface: gpointer; iface_data: gpointer); cdecl; 567 568 PPGInterfaceInfo = ^PGInterfaceInfo; 569 PGInterfaceInfo = ^TGInterfaceInfo; 570 571 PPGInterfaceInitFunc = ^PGInterfaceInitFunc; 572 PGInterfaceInitFunc = ^TGInterfaceInitFunc; 573 574 PPGInterfaceFinalizeFunc = ^PGInterfaceFinalizeFunc; 575 PGInterfaceFinalizeFunc = ^TGInterfaceFinalizeFunc; 576 577 TGInterfaceInfo = record 578 interface_init: TGInterfaceInitFunc; 579 interface_finalize: TGInterfaceFinalizeFunc; 580 interface_data: gpointer; 581 end; 582 583 584 585 TGParameter = record 586 name: Pgchar; 587 value: TGValue; 588 end; 589 590 591 592 PPGObjectClass = ^PGObjectClass; 593 PGObjectClass = ^TGObjectClass; 594 TGObjectClass = object 595 g_type_class: TGTypeClass; 596 construct_properties: PGSList; ype_null597 constructor_: function(type_: TGType; n_construct_properties: guint; construct_properties: PGObjectConstructParam): PGObject; cdecl; 598 set_property: procedure(object_: PGObject; property_id: guint; value: PGValue; pspec: PGParamSpec); cdecl; 599 get_property: procedure(object_: PGObject; property_id: guint; value: PGValue; pspec: PGParamSpec); cdecl; 600 dispose: procedure(object_: PGObject); cdecl; 601 finalize: procedure(object_: PGObject); cdecl; 602 dispatch_properties_changed: procedure(object_: PGObject; n_pspecs: guint; pspecs: PPGParamSpec); cdecl; 603 notify: procedure(object_: PGObject; pspec: PGParamSpec); cdecl; 604 constructed: procedure(object_: PGObject); cdecl; 605 flags: gsize; 606 pdummy: array [0..5] of gpointer; find_propertynull607 function find_property(property_name: Pgchar): PGParamSpec; cdecl; inline; 608 procedure install_properties(n_pspecs: guint; pspecs: PPGParamSpec); cdecl; inline; 609 procedure install_property(property_id: guint; pspec: PGParamSpec); cdecl; inline; list_propertiesnull610 function list_properties(n_properties: Pguint): PPGParamSpec; cdecl; inline; 611 procedure override_property(property_id: guint; name: Pgchar); cdecl; inline; 612 end; 613 TGObjectFinalizeFunc = procedure(object_: PGObject); cdecl; 614 TGObjectGetPropertyFunc = procedure(object_: PGObject; property_id: guint; value: PGValue; pspec: PGParamSpec); cdecl; 615 TGObjectSetPropertyFunc = procedure(object_: PGObject; property_id: guint; value: PGValue; pspec: PGParamSpec); cdecl; 616 617 PPGParamSpecBoolean = ^PGParamSpecBoolean; 618 PGParamSpecBoolean = ^TGParamSpecBoolean; 619 TGParamSpecBoolean = object(TGParamSpec) 620 default_value: gboolean; 621 end; 622 623 PPGParamSpecBoxed = ^PGParamSpecBoxed; 624 PGParamSpecBoxed = ^TGParamSpecBoxed; 625 TGParamSpecBoxed = object(TGParamSpec) 626 end; 627 628 PPGParamSpecChar = ^PGParamSpecChar; 629 PGParamSpecChar = ^TGParamSpecChar; 630 TGParamSpecChar = object(TGParamSpec) 631 minimum: gint8; 632 maximum: gint8; 633 default_value: gint8; 634 end; 635 636 PPGParamSpecClass = ^PGParamSpecClass; 637 PGParamSpecClass = ^TGParamSpecClass; 638 TGParamSpecClass = object 639 g_type_class: TGTypeClass; 640 value_type: TGType; 641 finalize: procedure(pspec: PGParamSpec); cdecl; 642 value_set_default: procedure(pspec: PGParamSpec; value: PGValue); cdecl; specnull643 value_validate: function(pspec: PGParamSpec; value: PGValue): gboolean; cdecl; specnull644 values_cmp: function(pspec: PGParamSpec; value1: PGValue; value2: PGValue): gint; cdecl; 645 dummy: array [0..3] of gpointer; 646 end; 647 648 PPGParamSpecDouble = ^PGParamSpecDouble; 649 PGParamSpecDouble = ^TGParamSpecDouble; 650 TGParamSpecDouble = object(TGParamSpec) 651 minimum: gdouble; 652 maximum: gdouble; 653 default_value: gdouble; 654 epsilon: gdouble; 655 end; 656 657 PPGParamSpecEnum = ^PGParamSpecEnum; 658 PGParamSpecEnum = ^TGParamSpecEnum; 659 TGParamSpecEnum = object(TGParamSpec) 660 enum_class: PGEnumClass; 661 default_value: gint; 662 end; 663 664 PPGParamSpecFlags = ^PGParamSpecFlags; 665 PGParamSpecFlags = ^TGParamSpecFlags; 666 TGParamSpecFlags = object(TGParamSpec) 667 flags_class: PGFlagsClass; 668 default_value: guint; 669 end; 670 671 PPGParamSpecFloat = ^PGParamSpecFloat; 672 PGParamSpecFloat = ^TGParamSpecFloat; 673 TGParamSpecFloat = object(TGParamSpec) 674 minimum: gfloat; 675 maximum: gfloat; 676 default_value: gfloat; 677 epsilon: gfloat; 678 end; 679 680 PPGParamSpecGType = ^PGParamSpecGType; 681 PGParamSpecGType = ^TGParamSpecGType; 682 TGParamSpecGType = object(TGParamSpec) 683 is_a_type: TGType; 684 end; 685 686 PPGParamSpecInt = ^PGParamSpecInt; 687 PGParamSpecInt = ^TGParamSpecInt; 688 TGParamSpecInt = object(TGParamSpec) 689 minimum: gint; 690 maximum: gint; 691 default_value: gint; 692 end; 693 694 PPGParamSpecInt64 = ^PGParamSpecInt64; 695 PGParamSpecInt64 = ^TGParamSpecInt64; 696 TGParamSpecInt64 = object(TGParamSpec) 697 minimum: gint64; 698 maximum: gint64; 699 default_value: gint64; 700 end; 701 702 PPGParamSpecLong = ^PGParamSpecLong; 703 PGParamSpecLong = ^TGParamSpecLong; 704 TGParamSpecLong = object(TGParamSpec) 705 minimum: glong; 706 maximum: glong; 707 default_value: glong; 708 end; 709 710 PPGParamSpecObject = ^PGParamSpecObject; 711 PGParamSpecObject = ^TGParamSpecObject; 712 TGParamSpecObject = object(TGParamSpec) 713 end; 714 715 PPGParamSpecOverride = ^PGParamSpecOverride; 716 PGParamSpecOverride = ^TGParamSpecOverride; 717 TGParamSpecOverride = object(TGParamSpec) 718 overridden: PGParamSpec; 719 end; 720 721 PPGParamSpecParam = ^PGParamSpecParam; 722 PGParamSpecParam = ^TGParamSpecParam; 723 TGParamSpecParam = object(TGParamSpec) 724 end; 725 726 PPGParamSpecPointer = ^PGParamSpecPointer; 727 PGParamSpecPointer = ^TGParamSpecPointer; 728 TGParamSpecPointer = object(TGParamSpec) 729 end; 730 731 PPGParamSpecPool = ^PGParamSpecPool; 732 PGParamSpecPool = ^TGParamSpecPool; 733 TGParamSpecPool = object 734 procedure insert(pspec: PGParamSpec; owner_type: TGType); cdecl; inline; listnull735 function list(owner_type: TGType; n_pspecs_p: Pguint): PPGParamSpec; cdecl; inline; list_ownednull736 function list_owned(owner_type: TGType): PGList; cdecl; inline; lookupnull737 function lookup(param_name: Pgchar; owner_type: TGType; walk_ancestors: gboolean): PGParamSpec; cdecl; inline; 738 procedure remove(pspec: PGParamSpec); cdecl; inline; newnull739 function new(type_prefixing: gboolean): PGParamSpecPool; cdecl; inline; static; 740 end; 741 742 PPGParamSpecString = ^PGParamSpecString; 743 PGParamSpecString = ^TGParamSpecString; 744 TGParamSpecStringBitfield0 = bitpacked record 745 null_fold_if_empty: guint1 { changed from guint to accomodate 1 bitsize requirement }; 746 ensure_non_null: guint1 { changed from guint to accomodate 1 bitsize requirement }; 747 end; 748 749 TGParamSpecString = object(TGParamSpec) 750 default_value: Pgchar; 751 cset_first: Pgchar; 752 cset_nth: Pgchar; 753 substitutor: gchar; 754 Bitfield0 : TGParamSpecStringBitfield0; { auto generated type } 755 end; 756 757 PPGParamSpecTypeInfo = ^PGParamSpecTypeInfo; 758 PGParamSpecTypeInfo = ^TGParamSpecTypeInfo; 759 760 TGParamSpecTypeInfo = record 761 instance_size: guint16; 762 n_preallocs: guint16; 763 instance_init: procedure(pspec: PGParamSpec); cdecl; 764 value_type: TGType; 765 finalize: procedure(pspec: PGParamSpec); cdecl; 766 value_set_default: procedure(pspec: PGParamSpec; value: PGValue); cdecl; specnull767 value_validate: function(pspec: PGParamSpec; value: PGValue): gboolean; cdecl; specnull768 values_cmp: function(pspec: PGParamSpec; value1: PGValue; value2: PGValue): gint; cdecl; 769 end; 770 771 772 773 PPGParamSpecUChar = ^PGParamSpecUChar; 774 PGParamSpecUChar = ^TGParamSpecUChar; 775 TGParamSpecUChar = object(TGParamSpec) 776 minimum: guint8; 777 maximum: guint8; 778 default_value: guint8; 779 end; 780 781 PPGParamSpecUInt = ^PGParamSpecUInt; 782 PGParamSpecUInt = ^TGParamSpecUInt; 783 TGParamSpecUInt = object(TGParamSpec) 784 minimum: guint; 785 maximum: guint; 786 default_value: guint; 787 end; 788 789 PPGParamSpecUInt64 = ^PGParamSpecUInt64; 790 PGParamSpecUInt64 = ^TGParamSpecUInt64; 791 TGParamSpecUInt64 = object(TGParamSpec) 792 minimum: guint64; 793 maximum: guint64; 794 default_value: guint64; 795 end; 796 797 PPGParamSpecULong = ^PGParamSpecULong; 798 PGParamSpecULong = ^TGParamSpecULong; 799 TGParamSpecULong = object(TGParamSpec) 800 minimum: gulong; 801 maximum: gulong; 802 default_value: gulong; 803 end; 804 805 PPGParamSpecUnichar = ^PGParamSpecUnichar; 806 PGParamSpecUnichar = ^TGParamSpecUnichar; 807 TGParamSpecUnichar = object(TGParamSpec) 808 default_value: gunichar; 809 end; 810 811 PPGParamSpecValueArray = ^PGParamSpecValueArray; 812 PGParamSpecValueArray = ^TGParamSpecValueArray; 813 TGParamSpecValueArray = object(TGParamSpec) 814 element_spec: PGParamSpec; 815 fixed_n_elements: guint; 816 end; 817 818 PPGParamSpecVariant = ^PGParamSpecVariant; 819 PGParamSpecVariant = ^TGParamSpecVariant; 820 TGParamSpecVariant = object(TGParamSpec) 821 type_: PGVariantType; 822 default_value: PGVariant; 823 padding: array [0..3] of gpointer; 824 end; 825 826 PPGSignalInvocationHint = ^PGSignalInvocationHint; 827 PGSignalInvocationHint = ^TGSignalInvocationHint; 828 829 PPGSignalFlags = ^PGSignalFlags; 830 PGSignalFlags = ^TGSignalFlags; 831 832 TGSignalInvocationHint = record 833 signal_id: guint; 834 detail: TGQuark; 835 run_type: TGSignalFlags; 836 end; 837 838 hintnull839 TGSignalAccumulator = function(ihint: PGSignalInvocationHint; return_accu: PGValue; handler_return: PGValue; data: gpointer): gboolean; cdecl; hintnull840 TGSignalEmissionHook = function(ihint: PGSignalInvocationHint; n_param_values: guint; param_values: PGValue; data: gpointer): gboolean; cdecl; 841 842 PPGSignalMatchType = ^PGSignalMatchType; 843 PGSignalMatchType = ^TGSignalMatchType; 844 845 PPGSignalQuery = ^PGSignalQuery; 846 PGSignalQuery = ^TGSignalQuery; 847 848 TGSignalQuery = record 849 signal_id: guint; 850 signal_name: Pgchar; 851 itype: TGType; 852 signal_flags: TGSignalFlags; 853 return_type: TGType; 854 n_params: guint; 855 param_types: PGType; 856 end; 857 858 859 TGTypeCValue = record 860 case longint of 861 0 : (v_int: gint); 862 1 : (v_long: glong); 863 2 : (v_int64: gint64); 864 3 : (v_double: gdouble); 865 4 : (v_pointer: gpointer); 866 end; 867 868 ache_datanull869 TGTypeClassCacheFunc = function(cache_data: gpointer; g_class: PGTypeClass): gboolean; cdecl; 870 871 PPGTypeDebugFlags = ^PGTypeDebugFlags; 872 PGTypeDebugFlags = ^TGTypeDebugFlags; 873 874 PPGTypeFlags = ^PGTypeFlags; 875 PGTypeFlags = ^TGTypeFlags; 876 877 PPGTypeFundamentalFlags = ^PGTypeFundamentalFlags; 878 PGTypeFundamentalFlags = ^TGTypeFundamentalFlags; 879 880 PPGTypeFundamentalInfo = ^PGTypeFundamentalInfo; 881 PGTypeFundamentalInfo = ^TGTypeFundamentalInfo; 882 883 TGTypeFundamentalInfo = record 884 type_flags: TGTypeFundamentalFlags; 885 end; 886 887 888 889 PPGTypeValueTable = ^PGTypeValueTable; 890 PGTypeValueTable = ^TGTypeValueTable; 891 892 PPGTypeCValue = ^PGTypeCValue; 893 PGTypeCValue = ^TGTypeCValue; 894 TGTypeValueTable = object 895 value_init: procedure(value: PGValue); cdecl; 896 value_free: procedure(value: PGValue); cdecl; 897 value_copy: procedure(src_value: PGValue; dest_value: PGValue); cdecl; aluenull898 value_peek_pointer: function(value: PGValue): gpointer; cdecl; 899 collect_format: Pgchar; aluenull900 collect_value: function(value: PGValue; n_collect_values: guint; collect_values: PGTypeCValue; collect_flags: guint): Pgchar; cdecl; 901 lcopy_format: Pgchar; aluenull902 lcopy_value: function(value: PGValue; n_collect_values: guint; collect_values: PGTypeCValue; collect_flags: guint): Pgchar; cdecl; peeknull903 function peek(type_: TGType): PGTypeValueTable; cdecl; inline; static; 904 end; 905 906 PPGTypeInfo = ^PGTypeInfo; 907 PGTypeInfo = ^TGTypeInfo; 908 909 PPGBaseInitFunc = ^PGBaseInitFunc; 910 PGBaseInitFunc = ^TGBaseInitFunc; 911 912 PPGBaseFinalizeFunc = ^PGBaseFinalizeFunc; 913 PGBaseFinalizeFunc = ^TGBaseFinalizeFunc; 914 915 PPGClassInitFunc = ^PGClassInitFunc; 916 PGClassInitFunc = ^TGClassInitFunc; 917 918 PPGClassFinalizeFunc = ^PGClassFinalizeFunc; 919 PGClassFinalizeFunc = ^TGClassFinalizeFunc; 920 921 PPGInstanceInitFunc = ^PGInstanceInitFunc; 922 PGInstanceInitFunc = ^TGInstanceInitFunc; 923 924 TGTypeInfo = record 925 class_size: guint16; 926 base_init: TGBaseInitFunc; 927 base_finalize: TGBaseFinalizeFunc; 928 class_init: TGClassInitFunc; 929 class_finalize: TGClassFinalizeFunc; 930 class_data: Pgpointer; 931 instance_size: guint16; 932 n_preallocs: guint16; 933 instance_init: TGInstanceInitFunc; 934 value_table: PGTypeValueTable; 935 end; 936 937 938 939 PPGTypeInterface = ^PGTypeInterface; 940 PGTypeInterface = ^TGTypeInterface; 941 942 PPGTypePlugin = ^PGTypePlugin; 943 PGTypePlugin = ^TGTypePlugin; 944 TGTypeInterface = object 945 g_type: TGType; 946 g_instance_type: TGType; peek_parentnull947 function peek_parent: PGTypeInterface; cdecl; inline; 948 procedure add_prerequisite(interface_type: TGType; prerequisite_type: TGType); cdecl; inline; static; get_pluginnull949 function get_plugin(instance_type: TGType; interface_type: TGType): PGTypePlugin; cdecl; inline; static; peeknull950 function peek(instance_class: PGTypeClass; iface_type: TGType): PGTypeInterface; cdecl; inline; static; prerequisitesnull951 function prerequisites(interface_type: TGType; n_prerequisites: Pguint): PGType; cdecl; inline; static; 952 end; 953 TGTypePlugin = object 954 procedure complete_interface_info(instance_type: TGType; interface_type: TGType; info: PGInterfaceInfo); cdecl; inline; 955 procedure complete_type_info(g_type: TGType; info: PGTypeInfo; value_table: PGTypeValueTable); cdecl; inline; 956 procedure unuse; cdecl; inline; 957 procedure use; cdecl; inline; 958 end; 959 TGTypeInterfaceCheckFunc = procedure(check_data: gpointer; g_iface: gpointer); cdecl; 960 961 PPGTypeModule = ^PGTypeModule; 962 PGTypeModule = ^TGTypeModule; 963 TGTypeModule = object(TGObject) 964 use_count: guint; 965 type_infos: PGSList; 966 interface_infos: PGSList; 967 name: Pgchar; 968 procedure add_interface(instance_type: TGType; interface_type: TGType; interface_info: PGInterfaceInfo); cdecl; inline; register_enumnull969 function register_enum(name: Pgchar; const_static_values: PGEnumValue): TGType; cdecl; inline; register_flagsnull970 function register_flags(name: Pgchar; const_static_values: PGFlagsValue): TGType; cdecl; inline; register_typenull971 function register_type(parent_type: TGType; type_name: Pgchar; type_info: PGTypeInfo; flags: TGTypeFlags): TGType; cdecl; inline; 972 procedure set_name(name: Pgchar); cdecl; inline; 973 procedure unuse; cdecl; inline; usenull974 function use: gboolean; cdecl; inline; 975 end; 976 977 PPGTypeModuleClass = ^PGTypeModuleClass; 978 PGTypeModuleClass = ^TGTypeModuleClass; 979 TGTypeModuleClass = object 980 parent_class: TGObjectClass; odulenull981 load: function(module: PGTypeModule): gboolean; cdecl; 982 unload: procedure(module: PGTypeModule); cdecl; 983 reserved1: procedure; cdecl; 984 reserved2: procedure; cdecl; 985 reserved3: procedure; cdecl; 986 reserved4: procedure; cdecl; 987 end; 988 TGTypePluginUse = procedure(plugin: PGTypePlugin); cdecl; 989 TGTypePluginUnuse = procedure(plugin: PGTypePlugin); cdecl; 990 TGTypePluginCompleteTypeInfo = procedure(plugin: PGTypePlugin; g_type: TGType; info: PGTypeInfo; value_table: PGTypeValueTable); cdecl; 991 TGTypePluginCompleteInterfaceInfo = procedure(plugin: PGTypePlugin; instance_type: TGType; interface_type: TGType; info: PGInterfaceInfo); cdecl; 992 993 PPGTypePluginClass = ^PGTypePluginClass; 994 PGTypePluginClass = ^TGTypePluginClass; 995 996 PPGTypePluginUse = ^PGTypePluginUse; 997 PGTypePluginUse = ^TGTypePluginUse; 998 999 PPGTypePluginUnuse = ^PGTypePluginUnuse; 1000 PGTypePluginUnuse = ^TGTypePluginUnuse; 1001 1002 PPGTypePluginCompleteTypeInfo = ^PGTypePluginCompleteTypeInfo; 1003 PGTypePluginCompleteTypeInfo = ^TGTypePluginCompleteTypeInfo; 1004 1005 PPGTypePluginCompleteInterfaceInfo = ^PGTypePluginCompleteInterfaceInfo; 1006 PGTypePluginCompleteInterfaceInfo = ^TGTypePluginCompleteInterfaceInfo; 1007 1008 TGTypePluginClass = record 1009 base_iface: TGTypeInterface; 1010 use_plugin: TGTypePluginUse; 1011 unuse_plugin: TGTypePluginUnuse; 1012 complete_type_info: TGTypePluginCompleteTypeInfo; 1013 complete_interface_info: TGTypePluginCompleteInterfaceInfo; 1014 end; 1015 1016 1017 1018 PPGTypeQuery = ^PGTypeQuery; 1019 PGTypeQuery = ^TGTypeQuery; 1020 1021 TGTypeQuery = record 1022 type_: TGType; 1023 type_name: Pgchar; 1024 class_size: guint; 1025 instance_size: guint; 1026 end; 1027 1028 1029 1030 PPGValueArray = ^PGValueArray; 1031 PGValueArray = ^TGValueArray; 1032 TGValueArray = object 1033 n_values: guint; 1034 values: PGValue; 1035 n_prealloced: guint; 1036 end; 1037 1038 PPGWeakRef = ^PGWeakRef; 1039 PGWeakRef = ^TGWeakRef; 1040 TGWeakRef_union_priv = record 1041 case longint of 1042 0 : (p: gpointer); 1043 end; 1044 1045 1046 TGWeakRef = object 1047 priv: TGWeakRef_union_priv; //union extracted from object and named 'TGWeakRef_union_priv' 1048 procedure clear; cdecl; inline; getnull1049 function get: PGObject; cdecl; inline; 1050 procedure init(object_: gpointer); cdecl; inline; 1051 procedure set_(object_: gpointer); cdecl; inline; 1052 end; 1053 g_binding_get_flagsnull1054function g_binding_get_flags(binding: PGBinding): TGBindingFlags; cdecl; external; g_binding_get_sourcenull1055function g_binding_get_source(binding: PGBinding): PGObject; cdecl; external; g_binding_get_source_propertynull1056function g_binding_get_source_property(binding: PGBinding): Pgchar; cdecl; external; g_binding_get_targetnull1057function g_binding_get_target(binding: PGBinding): PGObject; cdecl; external; g_binding_get_target_propertynull1058function g_binding_get_target_property(binding: PGBinding): Pgchar; cdecl; external; g_binding_get_typenull1059function g_binding_get_type: TGType; cdecl; external; g_boxed_copynull1060function g_boxed_copy(boxed_type: TGType; src_boxed: Pgpointer): gpointer; cdecl; external; g_boxed_type_register_staticnull1061function g_boxed_type_register_static(name: Pgchar; boxed_copy: TGBoxedCopyFunc; boxed_free: TGBoxedFreeFunc): TGType; cdecl; external; g_cclosure_newnull1062function g_cclosure_new(callback_func: TGCallback; user_data: gpointer; destroy_data: TGClosureNotify): PGClosure; cdecl; external; g_cclosure_new_objectnull1063function g_cclosure_new_object(callback_func: TGCallback; object_: PGObject): PGClosure; cdecl; external; g_cclosure_new_object_swapnull1064function g_cclosure_new_object_swap(callback_func: TGCallback; object_: PGObject): PGClosure; cdecl; external; g_cclosure_new_swapnull1065function g_cclosure_new_swap(callback_func: TGCallback; user_data: gpointer; destroy_data: TGClosureNotify): PGClosure; cdecl; external; g_closure_get_typenull1066function g_closure_get_type: TGType; cdecl; external; g_closure_new_objectnull1067function g_closure_new_object(sizeof_closure: guint; object_: PGObject): PGClosure; cdecl; external; g_closure_new_simplenull1068function g_closure_new_simple(sizeof_closure: guint; data: gpointer): PGClosure; cdecl; external; g_closure_refnull1069function g_closure_ref(closure: PGClosure): PGClosure; cdecl; external; g_enum_get_valuenull1070function g_enum_get_value(enum_class: PGEnumClass; value: gint): PGEnumValue; cdecl; external; g_enum_get_value_by_namenull1071function g_enum_get_value_by_name(enum_class: PGEnumClass; name: Pgchar): PGEnumValue; cdecl; external; g_enum_get_value_by_nicknull1072function g_enum_get_value_by_nick(enum_class: PGEnumClass; nick: Pgchar): PGEnumValue; cdecl; external; g_enum_register_staticnull1073function g_enum_register_static(name: Pgchar; const_static_values: PGEnumValue): TGType; cdecl; external; g_flags_get_first_valuenull1074function g_flags_get_first_value(flags_class: PGFlagsClass; value: guint): PGFlagsValue; cdecl; external; g_flags_get_value_by_namenull1075function g_flags_get_value_by_name(flags_class: PGFlagsClass; name: Pgchar): PGFlagsValue; cdecl; external; g_flags_get_value_by_nicknull1076function g_flags_get_value_by_nick(flags_class: PGFlagsClass; nick: Pgchar): PGFlagsValue; cdecl; external; g_flags_register_staticnull1077function g_flags_register_static(name: Pgchar; const_static_values: PGFlagsValue): TGType; cdecl; external; g_gtype_get_typenull1078function g_gtype_get_type: TGType; cdecl; external; g_initially_unowned_get_typenull1079function g_initially_unowned_get_type: TGType; cdecl; external; g_object_bind_propertynull1080function g_object_bind_property(source: PGObject; source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags): PGBinding; cdecl; external; g_object_bind_property_fullnull1081function g_object_bind_property_full(source: PGObject; source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags; transform_to: TGBindingTransformFunc; transform_from: TGBindingTransformFunc; user_data: gpointer; notify: TGDestroyNotify): PGBinding; cdecl; external; g_object_bind_property_with_closuresnull1082function g_object_bind_property_with_closures(source: PGObject; source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags; transform_to: PGClosure; transform_from: PGClosure): PGBinding; cdecl; external; g_object_class_find_propertynull1083function g_object_class_find_property(oclass: PGObjectClass; property_name: Pgchar): PGParamSpec; cdecl; external; g_object_class_list_propertiesnull1084function g_object_class_list_properties(oclass: PGObjectClass; n_properties: Pguint): PPGParamSpec; cdecl; external; g_object_compat_controlnull1085function g_object_compat_control(what: gsize; data: gpointer): gsize; cdecl; external; g_object_connectnull1086function g_object_connect(object_: gpointer; signal_spec: Pgchar; args: array of const): gpointer; cdecl; external; g_object_dup_datanull1087function g_object_dup_data(object_: PGObject; key: Pgchar; dup_func: TGDuplicateFunc; user_data: gpointer): gpointer; cdecl; external; g_object_dup_qdatanull1088function g_object_dup_qdata(object_: PGObject; quark: TGQuark; dup_func: TGDuplicateFunc; user_data: gpointer): gpointer; cdecl; external; g_object_get_datanull1089function g_object_get_data(object_: PGObject; key: Pgchar): gpointer; cdecl; external; g_object_get_qdatanull1090function g_object_get_qdata(object_: PGObject; quark: TGQuark): gpointer; cdecl; external; g_object_get_typenull1091function g_object_get_type: TGType; cdecl; external; g_object_interface_find_propertynull1092function g_object_interface_find_property(g_iface: gpointer; property_name: Pgchar): PGParamSpec; cdecl; external; g_object_interface_list_propertiesnull1093function g_object_interface_list_properties(g_iface: gpointer; n_properties_p: Pguint): PPGParamSpec; cdecl; external; g_object_is_floatingnull1094function g_object_is_floating(object_: PGObject): gboolean; cdecl; external; g_object_newnull1095function g_object_new(object_type: TGType; first_property_name: Pgchar; args: array of const): gpointer; cdecl; external; g_object_new_valistnull1096function g_object_new_valist(object_type: TGType; first_property_name: Pgchar; var_args: Tva_list): PGObject; cdecl; external; g_object_newvnull1097function g_object_newv(object_type: TGType; n_parameters: guint; parameters: PGParameter): PGObject; cdecl; external; g_object_refnull1098function g_object_ref(object_: PGObject): PGObject; cdecl; external; g_object_ref_sinknull1099function g_object_ref_sink(object_: PGObject): PGObject; cdecl; external; g_object_replace_datanull1100function g_object_replace_data(object_: PGObject; key: Pgchar; oldval: gpointer; newval: gpointer; destroy_: TGDestroyNotify; old_destroy: PGDestroyNotify): gboolean; cdecl; external; g_object_replace_qdatanull1101function g_object_replace_qdata(object_: PGObject; quark: TGQuark; oldval: gpointer; newval: gpointer; destroy_: TGDestroyNotify; old_destroy: PGDestroyNotify): gboolean; cdecl; external; g_object_steal_datanull1102function g_object_steal_data(object_: PGObject; key: Pgchar): gpointer; cdecl; external; g_object_steal_qdatanull1103function g_object_steal_qdata(object_: PGObject; quark: TGQuark): gpointer; cdecl; external; g_param_spec_booleannull1104function g_param_spec_boolean(name: Pgchar; nick: Pgchar; blurb: Pgchar; default_value: gboolean; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_boxednull1105function g_param_spec_boxed(name: Pgchar; nick: Pgchar; blurb: Pgchar; boxed_type: TGType; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_charnull1106function g_param_spec_char(name: Pgchar; nick: Pgchar; blurb: Pgchar; minimum: gint8; maximum: gint8; default_value: gint8; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_doublenull1107function g_param_spec_double(name: Pgchar; nick: Pgchar; blurb: Pgchar; minimum: gdouble; maximum: gdouble; default_value: gdouble; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_enumnull1108function g_param_spec_enum(name: Pgchar; nick: Pgchar; blurb: Pgchar; enum_type: TGType; default_value: gint; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_flagsnull1109function g_param_spec_flags(name: Pgchar; nick: Pgchar; blurb: Pgchar; flags_type: TGType; default_value: guint; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_floatnull1110function g_param_spec_float(name: Pgchar; nick: Pgchar; blurb: Pgchar; minimum: gfloat; maximum: gfloat; default_value: gfloat; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_get_blurbnull1111function g_param_spec_get_blurb(pspec: PGParamSpec): Pgchar; cdecl; external; g_param_spec_get_namenull1112function g_param_spec_get_name(pspec: PGParamSpec): Pgchar; cdecl; external; g_param_spec_get_nicknull1113function g_param_spec_get_nick(pspec: PGParamSpec): Pgchar; cdecl; external; g_param_spec_get_qdatanull1114function g_param_spec_get_qdata(pspec: PGParamSpec; quark: TGQuark): gpointer; cdecl; external; g_param_spec_get_redirect_targetnull1115function g_param_spec_get_redirect_target(pspec: PGParamSpec): PGParamSpec; cdecl; external; g_param_spec_gtypenull1116function g_param_spec_gtype(name: Pgchar; nick: Pgchar; blurb: Pgchar; is_a_type: TGType; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_intnull1117function g_param_spec_int(name: Pgchar; nick: Pgchar; blurb: Pgchar; minimum: gint; maximum: gint; default_value: gint; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_int64null1118function g_param_spec_int64(name: Pgchar; nick: Pgchar; blurb: Pgchar; minimum: gint64; maximum: gint64; default_value: gint64; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_internalnull1119function g_param_spec_internal(param_type: TGType; name: Pgchar; nick: Pgchar; blurb: Pgchar; flags: TGParamFlags): gpointer; cdecl; external; g_param_spec_longnull1120function g_param_spec_long(name: Pgchar; nick: Pgchar; blurb: Pgchar; minimum: glong; maximum: glong; default_value: glong; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_objectnull1121function g_param_spec_object(name: Pgchar; nick: Pgchar; blurb: Pgchar; object_type: TGType; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_overridenull1122function g_param_spec_override(name: Pgchar; overridden: PGParamSpec): PGParamSpec; cdecl; external; g_param_spec_paramnull1123function g_param_spec_param(name: Pgchar; nick: Pgchar; blurb: Pgchar; param_type: TGType; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_pointernull1124function g_param_spec_pointer(name: Pgchar; nick: Pgchar; blurb: Pgchar; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_pool_listnull1125function g_param_spec_pool_list(pool: PGParamSpecPool; owner_type: TGType; n_pspecs_p: Pguint): PPGParamSpec; cdecl; external; g_param_spec_pool_list_ownednull1126function g_param_spec_pool_list_owned(pool: PGParamSpecPool; owner_type: TGType): PGList; cdecl; external; g_param_spec_pool_lookupnull1127function g_param_spec_pool_lookup(pool: PGParamSpecPool; param_name: Pgchar; owner_type: TGType; walk_ancestors: gboolean): PGParamSpec; cdecl; external; g_param_spec_pool_newnull1128function g_param_spec_pool_new(type_prefixing: gboolean): PGParamSpecPool; cdecl; external; g_param_spec_refnull1129function g_param_spec_ref(pspec: PGParamSpec): PGParamSpec; cdecl; external; g_param_spec_ref_sinknull1130function g_param_spec_ref_sink(pspec: PGParamSpec): PGParamSpec; cdecl; external; g_param_spec_steal_qdatanull1131function g_param_spec_steal_qdata(pspec: PGParamSpec; quark: TGQuark): gpointer; cdecl; external; g_param_spec_stringnull1132function g_param_spec_string(name: Pgchar; nick: Pgchar; blurb: Pgchar; default_value: Pgchar; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_ucharnull1133function g_param_spec_uchar(name: Pgchar; nick: Pgchar; blurb: Pgchar; minimum: guint8; maximum: guint8; default_value: guint8; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_uintnull1134function g_param_spec_uint(name: Pgchar; nick: Pgchar; blurb: Pgchar; minimum: guint; maximum: guint; default_value: guint; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_uint64null1135function g_param_spec_uint64(name: Pgchar; nick: Pgchar; blurb: Pgchar; minimum: guint64; maximum: guint64; default_value: guint64; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_ulongnull1136function g_param_spec_ulong(name: Pgchar; nick: Pgchar; blurb: Pgchar; minimum: gulong; maximum: gulong; default_value: gulong; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_unicharnull1137function g_param_spec_unichar(name: Pgchar; nick: Pgchar; blurb: Pgchar; default_value: gunichar; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_value_arraynull1138function g_param_spec_value_array(name: Pgchar; nick: Pgchar; blurb: Pgchar; element_spec: PGParamSpec; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_variantnull1139function g_param_spec_variant(name: Pgchar; nick: Pgchar; blurb: Pgchar; type_: PGVariantType; default_value: PGVariant; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_type_register_staticnull1140function g_param_type_register_static(name: Pgchar; pspec_info: PGParamSpecTypeInfo): TGType; cdecl; external; g_param_value_convertnull1141function g_param_value_convert(pspec: PGParamSpec; src_value: PGValue; dest_value: PGValue; strict_validation: gboolean): gboolean; cdecl; external; g_param_value_defaultsnull1142function g_param_value_defaults(pspec: PGParamSpec; value: PGValue): gboolean; cdecl; external; g_param_value_validatenull1143function g_param_value_validate(pspec: PGParamSpec; value: PGValue): gboolean; cdecl; external; g_param_values_cmpnull1144function g_param_values_cmp(pspec: PGParamSpec; value1: PGValue; value2: PGValue): gint; cdecl; external; g_pointer_type_register_staticnull1145function g_pointer_type_register_static(name: Pgchar): TGType; cdecl; external; g_signal_accumulator_first_winsnull1146function g_signal_accumulator_first_wins(ihint: PGSignalInvocationHint; return_accu: PGValue; handler_return: PGValue; dummy: gpointer): gboolean; cdecl; external; g_signal_accumulator_true_handlednull1147function g_signal_accumulator_true_handled(ihint: PGSignalInvocationHint; return_accu: PGValue; handler_return: PGValue; dummy: gpointer): gboolean; cdecl; external; g_signal_add_emission_hooknull1148function g_signal_add_emission_hook(signal_id: guint; detail: TGQuark; hook_func: TGSignalEmissionHook; hook_data: gpointer; data_destroy: TGDestroyNotify): gulong; cdecl; external; g_signal_connect_closurenull1149function g_signal_connect_closure(instance: gpointer; detailed_signal: Pgchar; closure: PGClosure; after: gboolean): gulong; cdecl; external; g_signal_connect_closure_by_idnull1150function g_signal_connect_closure_by_id(instance: gpointer; signal_id: guint; detail: TGQuark; closure: PGClosure; after: gboolean): gulong; cdecl; external; g_signal_connect_datanull1151function g_signal_connect_data(instance: gpointer; detailed_signal: Pgchar; c_handler: TGCallback; data: gpointer; destroy_data: TGClosureNotify; connect_flags: TGConnectFlags): gulong; cdecl; external; g_signal_connect_objectnull1152function g_signal_connect_object(instance: gpointer; detailed_signal: Pgchar; c_handler: TGCallback; gobject: gpointer; connect_flags: TGConnectFlags): gulong; cdecl; external; g_signal_get_invocation_hintnull1153function g_signal_get_invocation_hint(instance: gpointer): PGSignalInvocationHint; cdecl; external; g_signal_handler_findnull1154function g_signal_handler_find(instance: gpointer; mask: TGSignalMatchType; signal_id: guint; detail: TGQuark; closure: PGClosure; func: gpointer; data: gpointer): gulong; cdecl; external; g_signal_handler_is_connectednull1155function g_signal_handler_is_connected(instance: gpointer; handler_id: gulong): gboolean; cdecl; external; g_signal_handlers_block_matchednull1156function g_signal_handlers_block_matched(instance: gpointer; mask: TGSignalMatchType; signal_id: guint; detail: TGQuark; closure: PGClosure; func: gpointer; data: gpointer): guint; cdecl; external; g_signal_handlers_disconnect_matchednull1157function g_signal_handlers_disconnect_matched(instance: gpointer; mask: TGSignalMatchType; signal_id: guint; detail: TGQuark; closure: PGClosure; func: gpointer; data: gpointer): guint; cdecl; external; g_signal_handlers_unblock_matchednull1158function g_signal_handlers_unblock_matched(instance: gpointer; mask: TGSignalMatchType; signal_id: guint; detail: TGQuark; closure: PGClosure; func: gpointer; data: gpointer): guint; cdecl; external; g_signal_has_handler_pendingnull1159function g_signal_has_handler_pending(instance: gpointer; signal_id: guint; detail: TGQuark; may_be_blocked: gboolean): gboolean; cdecl; external; g_signal_list_idsnull1160function g_signal_list_ids(itype: TGType; n_ids: Pguint): Pguint; cdecl; external; g_signal_lookupnull1161function g_signal_lookup(name: Pgchar; itype: TGType): guint; cdecl; external; g_signal_namenull1162function g_signal_name(signal_id: guint): Pgchar; cdecl; external; g_signal_newnull1163function g_signal_new(signal_name: Pgchar; itype: TGType; signal_flags: TGSignalFlags; class_offset: guint; accumulator: TGSignalAccumulator; accu_data: gpointer; c_marshaller: TGSignalCMarshaller; return_type: TGType; n_params: guint; args: array of const): guint; cdecl; external; g_signal_new_class_handlernull1164function g_signal_new_class_handler(signal_name: Pgchar; itype: TGType; signal_flags: TGSignalFlags; class_handler: TGCallback; accumulator: TGSignalAccumulator; accu_data: gpointer; c_marshaller: TGSignalCMarshaller; return_type: TGType; n_params: guint; args: array of const): guint; cdecl; external; g_signal_new_valistnull1165function g_signal_new_valist(signal_name: Pgchar; itype: TGType; signal_flags: TGSignalFlags; class_closure: PGClosure; accumulator: TGSignalAccumulator; accu_data: gpointer; c_marshaller: TGSignalCMarshaller; return_type: TGType; n_params: guint; args: Tva_list): guint; cdecl; external; g_signal_newvnull1166function g_signal_newv(signal_name: Pgchar; itype: TGType; signal_flags: TGSignalFlags; class_closure: PGClosure; accumulator: TGSignalAccumulator; accu_data: gpointer; c_marshaller: TGSignalCMarshaller; return_type: TGType; n_params: guint; param_types: PGType): guint; cdecl; external; g_signal_parse_namenull1167function g_signal_parse_name(detailed_signal: Pgchar; itype: TGType; signal_id_p: Pguint; detail_p: PGQuark; force_detail_quark: gboolean): gboolean; cdecl; external; g_signal_type_cclosure_newnull1168function g_signal_type_cclosure_new(itype: TGType; struct_offset: guint): PGClosure; cdecl; external; g_strdup_value_contentsnull1169function g_strdup_value_contents(value: PGValue): Pgchar; cdecl; external; g_type_check_class_castnull1170function g_type_check_class_cast(g_class: PGTypeClass; is_a_type: TGType): PGTypeClass; cdecl; external; g_type_check_class_is_anull1171function g_type_check_class_is_a(g_class: PGTypeClass; is_a_type: TGType): gboolean; cdecl; external; g_type_check_instancenull1172function g_type_check_instance(instance: PGTypeInstance): gboolean; cdecl; external; g_type_check_instance_castnull1173function g_type_check_instance_cast(instance: PGTypeInstance; iface_type: TGType): PGTypeInstance; cdecl; external; g_type_check_instance_is_anull1174function g_type_check_instance_is_a(instance: PGTypeInstance; iface_type: TGType): gboolean; cdecl; external; g_type_check_is_value_typenull1175function g_type_check_is_value_type(type_: TGType): gboolean; cdecl; external; g_type_check_valuenull1176function g_type_check_value(value: PGValue): gboolean; cdecl; external; g_type_check_value_holdsnull1177function g_type_check_value_holds(value: PGValue; type_: TGType): gboolean; cdecl; external; g_type_childrennull1178function g_type_children(type_: TGType; n_children: Pguint): PGType; cdecl; external; g_type_class_get_privatenull1179function g_type_class_get_private(klass: PGTypeClass; private_type: TGType): gpointer; cdecl; external; g_type_class_peeknull1180function g_type_class_peek(type_: TGType): PGTypeClass; cdecl; external; g_type_class_peek_parentnull1181function g_type_class_peek_parent(g_class: PGTypeClass): PGTypeClass; cdecl; external; g_type_class_peek_staticnull1182function g_type_class_peek_static(type_: TGType): PGTypeClass; cdecl; external; g_type_class_refnull1183function g_type_class_ref(type_: TGType): PGTypeClass; cdecl; external; g_type_create_instancenull1184function g_type_create_instance(type_: TGType): PGTypeInstance; cdecl; external; g_type_default_interface_peeknull1185function g_type_default_interface_peek(g_type: TGType): PGTypeInterface; cdecl; external; g_type_default_interface_refnull1186function g_type_default_interface_ref(g_type: TGType): PGTypeInterface; cdecl; external; g_type_depthnull1187function g_type_depth(type_: TGType): guint; cdecl; external; g_type_from_namenull1188function g_type_from_name(name: Pgchar): TGType; cdecl; external; g_type_fundamentalnull1189function g_type_fundamental(type_id: TGType): TGType; cdecl; external; g_type_fundamental_nextnull1190function g_type_fundamental_next: TGType; cdecl; external; g_type_get_pluginnull1191function g_type_get_plugin(type_: TGType): PGTypePlugin; cdecl; external; g_type_get_qdatanull1192function g_type_get_qdata(type_: TGType; quark: TGQuark): gpointer; cdecl; external; g_type_get_type_registration_serialnull1193function g_type_get_type_registration_serial: guint; cdecl; external; g_type_instance_get_privatenull1194function g_type_instance_get_private(instance: PGTypeInstance; private_type: TGType): gpointer; cdecl; external; g_type_interface_get_pluginnull1195function g_type_interface_get_plugin(instance_type: TGType; interface_type: TGType): PGTypePlugin; cdecl; external; g_type_interface_peeknull1196function g_type_interface_peek(instance_class: PGTypeClass; iface_type: TGType): PGTypeInterface; cdecl; external; g_type_interface_peek_parentnull1197function g_type_interface_peek_parent(g_iface: PGTypeInterface): PGTypeInterface; cdecl; external; g_type_interface_prerequisitesnull1198function g_type_interface_prerequisites(interface_type: TGType; n_prerequisites: Pguint): PGType; cdecl; external; g_type_interfacesnull1199function g_type_interfaces(type_: TGType; n_interfaces: Pguint): PGType; cdecl; external; g_type_is_anull1200function g_type_is_a(type_: TGType; is_a_type: TGType): gboolean; cdecl; external; g_type_module_get_typenull1201function g_type_module_get_type: TGType; cdecl; external; g_type_module_register_enumnull1202function g_type_module_register_enum(module: PGTypeModule; name: Pgchar; const_static_values: PGEnumValue): TGType; cdecl; external; g_type_module_register_flagsnull1203function g_type_module_register_flags(module: PGTypeModule; name: Pgchar; const_static_values: PGFlagsValue): TGType; cdecl; external; g_type_module_register_typenull1204function g_type_module_register_type(module: PGTypeModule; parent_type: TGType; type_name: Pgchar; type_info: PGTypeInfo; flags: TGTypeFlags): TGType; cdecl; external; g_type_module_usenull1205function g_type_module_use(module: PGTypeModule): gboolean; cdecl; external; g_type_namenull1206function g_type_name(type_: TGType): Pgchar; cdecl; external; g_type_name_from_classnull1207function g_type_name_from_class(g_class: PGTypeClass): Pgchar; cdecl; external; g_type_name_from_instancenull1208function g_type_name_from_instance(instance: PGTypeInstance): Pgchar; cdecl; external; g_type_next_basenull1209function g_type_next_base(leaf_type: TGType; root_type: TGType): TGType; cdecl; external; g_type_parentnull1210function g_type_parent(type_: TGType): TGType; cdecl; external; g_type_plugin_get_typenull1211function g_type_plugin_get_type: TGType; cdecl; external; g_type_qnamenull1212function g_type_qname(type_: TGType): TGQuark; cdecl; external; g_type_register_dynamicnull1213function g_type_register_dynamic(parent_type: TGType; type_name: Pgchar; plugin: PGTypePlugin; flags: TGTypeFlags): TGType; cdecl; external; g_type_register_fundamentalnull1214function g_type_register_fundamental(type_id: TGType; type_name: Pgchar; info: PGTypeInfo; finfo: PGTypeFundamentalInfo; flags: TGTypeFlags): TGType; cdecl; external; g_type_register_staticnull1215function g_type_register_static(parent_type: TGType; type_name: Pgchar; info: PGTypeInfo; flags: TGTypeFlags): TGType; cdecl; external; g_type_register_static_simplenull1216function g_type_register_static_simple(parent_type: TGType; type_name: Pgchar; class_size: guint; class_init: TGClassInitFunc; instance_size: guint; instance_init: TGInstanceInitFunc; flags: TGTypeFlags): TGType; cdecl; external; g_type_test_flagsnull1217function g_type_test_flags(type_: TGType; flags: guint): gboolean; cdecl; external; g_type_value_table_peeknull1218function g_type_value_table_peek(type_: TGType): PGTypeValueTable; cdecl; external; g_value_array_get_typenull1219function g_value_array_get_type: TGType; cdecl; external; g_value_dup_boxednull1220function g_value_dup_boxed(value: PGValue): gpointer; cdecl; external; g_value_dup_objectnull1221function g_value_dup_object(value: PGValue): PGObject; cdecl; external; g_value_dup_paramnull1222function g_value_dup_param(value: PGValue): PGParamSpec; cdecl; external; g_value_dup_stringnull1223function g_value_dup_string(value: PGValue): Pgchar; cdecl; external; g_value_dup_variantnull1224function g_value_dup_variant(value: PGValue): PGVariant; cdecl; external; g_value_fits_pointernull1225function g_value_fits_pointer(value: PGValue): gboolean; cdecl; external; g_value_get_booleannull1226function g_value_get_boolean(value: PGValue): gboolean; cdecl; external; g_value_get_boxednull1227function g_value_get_boxed(value: PGValue): gpointer; cdecl; external; g_value_get_doublenull1228function g_value_get_double(value: PGValue): gdouble; cdecl; external; g_value_get_enumnull1229function g_value_get_enum(value: PGValue): gint; cdecl; external; g_value_get_flagsnull1230function g_value_get_flags(value: PGValue): guint; cdecl; external; g_value_get_floatnull1231function g_value_get_float(value: PGValue): gfloat; cdecl; external; g_value_get_gtypenull1232function g_value_get_gtype(value: PGValue): TGType; cdecl; external; g_value_get_intnull1233function g_value_get_int(value: PGValue): gint; cdecl; external; g_value_get_int64null1234function g_value_get_int64(value: PGValue): gint64; cdecl; external; g_value_get_longnull1235function g_value_get_long(value: PGValue): glong; cdecl; external; g_value_get_objectnull1236