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 end; oxednull327 TGBoxedCopyFunc = function(boxed: gpointer): gpointer; cdecl; 328 TGBoxedFreeFunc = procedure(boxed: gpointer); cdecl; 329 330 PPGClosureNotify = ^PGClosureNotify; 331 PGClosureNotify = ^TGClosureNotify; 332 TGClosureNotify = procedure(data: gpointer; closure: PGClosure); cdecl; 333 334 PPGClosureMarshal = ^PGClosureMarshal; 335 PGClosureMarshal = ^TGClosureMarshal; 336 TGClosureBitfield0 = bitpacked record 337 ref_count: guint15 { changed from guint to accomodate 15 bitsize requirement }; 338 meta_marshal_nouse: guint1 { changed from guint to accomodate 1 bitsize requirement }; 339 n_guards: guint1 { changed from guint to accomodate 1 bitsize requirement }; 340 n_fnotifiers: guint2 { changed from guint to accomodate 2 bitsize requirement }; 341 n_inotifiers: guint8 { changed from guint to accomodate 8 bitsize requirement }; 342 in_inotify: guint1 { changed from guint to accomodate 1 bitsize requirement }; 343 floating: guint1 { changed from guint to accomodate 1 bitsize requirement }; 344 derivative_flag: guint1 { changed from guint to accomodate 1 bitsize requirement }; 345 in_marshal: guint1 { changed from guint to accomodate 1 bitsize requirement }; 346 is_invalid: guint1 { changed from guint to accomodate 1 bitsize requirement }; 347 end; 348 349 350 PPGClosureNotifyData = ^PGClosureNotifyData; 351 PGClosureNotifyData = ^TGClosureNotifyData; 352 TGClosure = object 353 Bitfield0 : TGClosureBitfield0; { auto generated type } 354 marshal: procedure(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; 355 data: gpointer; 356 notifiers: PGClosureNotifyData; new_objectnull357 function new_object(sizeof_closure: guint; object_: PGObject): PGClosure; cdecl; inline; static; new_simplenull358 function new_simple(sizeof_closure: guint; data: gpointer): PGClosure; cdecl; inline; static; 359 procedure add_finalize_notifier(notify_data: gpointer; notify_func: TGClosureNotify); cdecl; inline; 360 procedure add_invalidate_notifier(notify_data: gpointer; notify_func: TGClosureNotify); cdecl; inline; 361 procedure add_marshal_guards(pre_marshal_data: gpointer; pre_marshal_notify: TGClosureNotify; post_marshal_data: gpointer; post_marshal_notify: TGClosureNotify); cdecl; inline; 362 procedure invalidate; cdecl; inline; 363 procedure invoke(return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer); cdecl; inline; refnull364 function ref: PGClosure; cdecl; inline; 365 procedure remove_finalize_notifier(notify_data: gpointer; notify_func: TGClosureNotify); cdecl; inline; 366 procedure remove_invalidate_notifier(notify_data: gpointer; notify_func: TGClosureNotify); cdecl; inline; 367 procedure set_marshal(marshal: TGClosureMarshal); cdecl; inline; 368 procedure set_meta_marshal(marshal_data: gpointer; meta_marshal: TGClosureMarshal); cdecl; inline; 369 procedure sink; cdecl; inline; 370 procedure unref; cdecl; inline; 371 end; 372 TGCallback = procedure; cdecl; 373 374 PPGCClosure = ^PGCClosure; 375 PGCClosure = ^TGCClosure; 376 377 PPGCallback = ^PGCallback; 378 PGCallback = ^TGCallback; 379 TGCClosure = object 380 closure: TGClosure; 381 callback: gpointer; 382 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; 383 //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; 384 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; 385 //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; 386 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; 387 //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; 388 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; 389 //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; 390 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; 391 //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; 392 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; 393 //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; 394 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; 395 //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; 396 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; 397 //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; 398 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; 399 //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; 400 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; 401 //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; 402 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; 403 //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; 404 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; 405 //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; 406 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; 407 //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; 408 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; 409 //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; 410 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; 411 //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; 412 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; 413 //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; 414 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; 415 //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; 416 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; 417 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; 418 //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; 419 //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; 420 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; 421 //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; 422 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; 423 //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; 424 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; 425 //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; 426 procedure marshal_generic(closure: PGClosure; return_gvalue: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static; 427 //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; newnull428 function new(callback_func: TGCallback; user_data: gpointer; destroy_data: TGClosureNotify): PGClosure; cdecl; inline; static; new_objectnull429 function new_object(callback_func: TGCallback; object_: PGObject): PGClosure; cdecl; inline; static; new_object_swapnull430 function new_object_swap(callback_func: TGCallback; object_: PGObject): PGClosure; cdecl; inline; static; new_swapnull431 function new_swap(callback_func: TGCallback; user_data: gpointer; destroy_data: TGClosureNotify): PGClosure; cdecl; inline; static; 432 end; 433 TGClassFinalizeFunc = procedure(g_class: gpointer; class_data: gpointer); cdecl; 434 TGClassInitFunc = procedure(g_class: gpointer; class_data: gpointer); cdecl; 435 436 TGClosureNotifyData = record 437 data: gpointer; 438 notify: TGClosureNotify; 439 end; 440 441 442 443 PPGConnectFlags = ^PGConnectFlags; 444 PGConnectFlags = ^TGConnectFlags; 445 TGTypeClass = object 446 g_type: TGType; get_privatenull447 function get_private(private_type: TGType): gpointer; cdecl; inline; peek_parentnull448 function peek_parent: PGTypeClass; cdecl; inline; 449 procedure unref; cdecl; inline; 450 procedure unref_uncached; cdecl; inline; 451 procedure add_private(g_class: gpointer; private_size: gsize); cdecl; inline; static; peeknull452 function peek(type_: TGType): PGTypeClass; cdecl; inline; static; peek_staticnull453 function peek_static(type_: TGType): PGTypeClass; cdecl; inline; static; refnull454 function ref(type_: TGType): PGTypeClass; cdecl; inline; static; 455 end; 456 457 PPGEnumValue = ^PGEnumValue; 458 PGEnumValue = ^TGEnumValue; 459 460 TGEnumValue = record 461 value: gint; 462 value_name: Pgchar; 463 value_nick: Pgchar; 464 end; 465 466 467 468 PPGEnumClass = ^PGEnumClass; 469 PGEnumClass = ^TGEnumClass; 470 471 TGEnumClass = record 472 g_type_class: TGTypeClass; 473 minimum: gint; 474 maximum: gint; 475 n_values: guint; 476 values: PGEnumValue; 477 end; 478 479 480 481 PPGFlagsValue = ^PGFlagsValue; 482 PGFlagsValue = ^TGFlagsValue; 483 484 TGFlagsValue = record 485 value: guint; 486 value_name: Pgchar; 487 value_nick: Pgchar; 488 end; 489 490 491 492 PPGFlagsClass = ^PGFlagsClass; 493 PGFlagsClass = ^TGFlagsClass; 494 495 TGFlagsClass = record 496 g_type_class: TGTypeClass; 497 mask: guint; 498 n_values: guint; 499 values: PGFlagsValue; 500 end; 501 502 503 504 PPGInitiallyUnowned = ^PGInitiallyUnowned; 505 PGInitiallyUnowned = ^TGInitiallyUnowned; 506 TGInitiallyUnowned = object(TGObject) 507 end; 508 509 PPGObjectConstructParam = ^PGObjectConstructParam; 510 PGObjectConstructParam = ^TGObjectConstructParam; 511 512 TGObjectConstructParam = record 513 pspec: PGParamSpec; 514 value: PGValue; 515 end; 516 517 518 519 PPGParamFlags = ^PGParamFlags; 520 PGParamFlags = ^TGParamFlags; 521 TGParamSpec = object 522 g_type_instance: TGTypeInstance; 523 name: Pgchar; 524 flags: TGParamFlags; 525 value_type: TGType; 526 owner_type: TGType; 527 _nick: Pgchar; 528 _blurb: Pgchar; 529 qdata: PGData; 530 ref_count: guint; 531 param_id: guint; internalnull532 function internal(param_type: TGType; name: Pgchar; nick: Pgchar; blurb: Pgchar; flags: TGParamFlags): gpointer; cdecl; inline; static; get_blurbnull533 function get_blurb: Pgchar; cdecl; inline; get_namenull534 function get_name: Pgchar; cdecl; inline; get_nicknull535 function get_nick: Pgchar; cdecl; inline; get_qdatanull536 function get_qdata(quark: TGQuark): gpointer; cdecl; inline; get_redirect_targetnull537 function get_redirect_target: PGParamSpec; cdecl; inline; refnull538 function ref: PGParamSpec; cdecl; inline; ref_sinknull539 function ref_sink: PGParamSpec; cdecl; inline; 540 procedure set_qdata(quark: TGQuark; data: gpointer); cdecl; inline; 541 procedure set_qdata_full(quark: TGQuark; data: gpointer; destroy_: TGDestroyNotify); cdecl; inline; 542 procedure sink; cdecl; inline; steal_qdatanull543 function steal_qdata(quark: TGQuark): gpointer; cdecl; inline; 544 procedure unref; cdecl; inline; 545 end; 546 547 PPGInitiallyUnownedClass = ^PGInitiallyUnownedClass; 548 PGInitiallyUnownedClass = ^TGInitiallyUnownedClass; 549 TGInitiallyUnownedClass = object 550 g_type_class: TGTypeClass; 551 construct_properties: PGSList; ype_null552 constructor_: function(type_: TGType; n_construct_properties: guint; construct_properties: PGObjectConstructParam): PGObject; cdecl; 553 set_property: procedure(object_: PGObject; property_id: guint; value: PGValue; pspec: PGParamSpec); cdecl; 554 get_property: procedure(object_: PGObject; property_id: guint; value: PGValue; pspec: PGParamSpec); cdecl; 555 dispose: procedure(object_: PGObject); cdecl; 556 finalize: procedure(object_: PGObject); cdecl; 557 dispatch_properties_changed: procedure(object_: PGObject; n_pspecs: guint; pspecs: PPGParamSpec); cdecl; 558 notify: procedure(object_: PGObject; pspec: PGParamSpec); cdecl; 559 constructed: procedure(object_: PGObject); cdecl; 560 flags: gsize; 561 pdummy: array [0..5] of gpointer; 562 end; 563 TGInstanceInitFunc = procedure(instance: PGTypeInstance; g_class: gpointer); cdecl; 564 TGInterfaceFinalizeFunc = procedure(g_iface: gpointer; iface_data: gpointer); cdecl; 565 TGInterfaceInitFunc = procedure(g_iface: gpointer; iface_data: gpointer); cdecl; 566 567 PPGInterfaceInfo = ^PGInterfaceInfo; 568 PGInterfaceInfo = ^TGInterfaceInfo; 569 570 PPGInterfaceInitFunc = ^PGInterfaceInitFunc; 571 PGInterfaceInitFunc = ^TGInterfaceInitFunc; 572 573 PPGInterfaceFinalizeFunc = ^PGInterfaceFinalizeFunc; 574 PGInterfaceFinalizeFunc = ^TGInterfaceFinalizeFunc; 575 576 TGInterfaceInfo = record 577 interface_init: TGInterfaceInitFunc; 578 interface_finalize: TGInterfaceFinalizeFunc; 579 interface_data: gpointer; 580 end; 581 582 583 584 TGParameter = record 585 name: Pgchar; 586 value: TGValue; 587 end; 588 589 590 591 PPGObjectClass = ^PGObjectClass; 592 PGObjectClass = ^TGObjectClass; 593 TGObjectClass = object 594 g_type_class: TGTypeClass; 595 construct_properties: PGSList; ype_null596 constructor_: function(type_: TGType; n_construct_properties: guint; construct_properties: PGObjectConstructParam): PGObject; cdecl; 597 set_property: procedure(object_: PGObject; property_id: guint; value: PGValue; pspec: PGParamSpec); cdecl; 598 get_property: procedure(object_: PGObject; property_id: guint; value: PGValue; pspec: PGParamSpec); cdecl; 599 dispose: procedure(object_: PGObject); cdecl; 600 finalize: procedure(object_: PGObject); cdecl; 601 dispatch_properties_changed: procedure(object_: PGObject; n_pspecs: guint; pspecs: PPGParamSpec); cdecl; 602 notify: procedure(object_: PGObject; pspec: PGParamSpec); cdecl; 603 constructed: procedure(object_: PGObject); cdecl; 604 flags: gsize; 605 pdummy: array [0..5] of gpointer; find_propertynull606 function find_property(property_name: Pgchar): PGParamSpec; cdecl; inline; 607 procedure install_properties(n_pspecs: guint; pspecs: PPGParamSpec); cdecl; inline; 608 procedure install_property(property_id: guint; pspec: PGParamSpec); cdecl; inline; list_propertiesnull609 function list_properties(n_properties: Pguint): PPGParamSpec; cdecl; inline; 610 procedure override_property(property_id: guint; name: Pgchar); cdecl; inline; 611 end; 612 TGObjectFinalizeFunc = procedure(object_: PGObject); cdecl; 613 TGObjectGetPropertyFunc = procedure(object_: PGObject; property_id: guint; value: PGValue; pspec: PGParamSpec); cdecl; 614 TGObjectSetPropertyFunc = procedure(object_: PGObject; property_id: guint; value: PGValue; pspec: PGParamSpec); cdecl; 615 616 PPGParamSpecBoolean = ^PGParamSpecBoolean; 617 PGParamSpecBoolean = ^TGParamSpecBoolean; 618 TGParamSpecBoolean = object(TGParamSpec) 619 default_value: gboolean; 620 end; 621 622 PPGParamSpecBoxed = ^PGParamSpecBoxed; 623 PGParamSpecBoxed = ^TGParamSpecBoxed; 624 TGParamSpecBoxed = object(TGParamSpec) 625 end; 626 627 PPGParamSpecChar = ^PGParamSpecChar; 628 PGParamSpecChar = ^TGParamSpecChar; 629 TGParamSpecChar = object(TGParamSpec) 630 minimum: gint8; 631 maximum: gint8; 632 default_value: gint8; 633 end; 634 635 PPGParamSpecClass = ^PGParamSpecClass; 636 PGParamSpecClass = ^TGParamSpecClass; 637 TGParamSpecClass = object 638 g_type_class: TGTypeClass; 639 value_type: TGType; 640 finalize: procedure(pspec: PGParamSpec); cdecl; 641 value_set_default: procedure(pspec: PGParamSpec; value: PGValue); cdecl; specnull642 value_validate: function(pspec: PGParamSpec; value: PGValue): gboolean; cdecl; specnull643 values_cmp: function(pspec: PGParamSpec; value1: PGValue; value2: PGValue): gint; cdecl; 644 dummy: array [0..3] of gpointer; 645 end; 646 647 PPGParamSpecDouble = ^PGParamSpecDouble; 648 PGParamSpecDouble = ^TGParamSpecDouble; 649 TGParamSpecDouble = object(TGParamSpec) 650 minimum: gdouble; 651 maximum: gdouble; 652 default_value: gdouble; 653 epsilon: gdouble; 654 end; 655 656 PPGParamSpecEnum = ^PGParamSpecEnum; 657 PGParamSpecEnum = ^TGParamSpecEnum; 658 TGParamSpecEnum = object(TGParamSpec) 659 enum_class: PGEnumClass; 660 default_value: gint; 661 end; 662 663 PPGParamSpecFlags = ^PGParamSpecFlags; 664 PGParamSpecFlags = ^TGParamSpecFlags; 665 TGParamSpecFlags = object(TGParamSpec) 666 flags_class: PGFlagsClass; 667 default_value: guint; 668 end; 669 670 PPGParamSpecFloat = ^PGParamSpecFloat; 671 PGParamSpecFloat = ^TGParamSpecFloat; 672 TGParamSpecFloat = object(TGParamSpec) 673 minimum: gfloat; 674 maximum: gfloat; 675 default_value: gfloat; 676 epsilon: gfloat; 677 end; 678 679 PPGParamSpecGType = ^PGParamSpecGType; 680 PGParamSpecGType = ^TGParamSpecGType; 681 TGParamSpecGType = object(TGParamSpec) 682 is_a_type: TGType; 683 end; 684 685 PPGParamSpecInt = ^PGParamSpecInt; 686 PGParamSpecInt = ^TGParamSpecInt; 687 TGParamSpecInt = object(TGParamSpec) 688 minimum: gint; 689 maximum: gint; 690 default_value: gint; 691 end; 692 693 PPGParamSpecInt64 = ^PGParamSpecInt64; 694 PGParamSpecInt64 = ^TGParamSpecInt64; 695 TGParamSpecInt64 = object(TGParamSpec) 696 minimum: gint64; 697 maximum: gint64; 698 default_value: gint64; 699 end; 700 701 PPGParamSpecLong = ^PGParamSpecLong; 702 PGParamSpecLong = ^TGParamSpecLong; 703 TGParamSpecLong = object(TGParamSpec) 704 minimum: glong; 705 maximum: glong; 706 default_value: glong; 707 end; 708 709 PPGParamSpecObject = ^PGParamSpecObject; 710 PGParamSpecObject = ^TGParamSpecObject; 711 TGParamSpecObject = object(TGParamSpec) 712 end; 713 714 PPGParamSpecOverride = ^PGParamSpecOverride; 715 PGParamSpecOverride = ^TGParamSpecOverride; 716 TGParamSpecOverride = object(TGParamSpec) 717 overridden: PGParamSpec; 718 end; 719 720 PPGParamSpecParam = ^PGParamSpecParam; 721 PGParamSpecParam = ^TGParamSpecParam; 722 TGParamSpecParam = object(TGParamSpec) 723 end; 724 725 PPGParamSpecPointer = ^PGParamSpecPointer; 726 PGParamSpecPointer = ^TGParamSpecPointer; 727 TGParamSpecPointer = object(TGParamSpec) 728 end; 729 730 PPGParamSpecPool = ^PGParamSpecPool; 731 PGParamSpecPool = ^TGParamSpecPool; 732 TGParamSpecPool = object 733 procedure insert(pspec: PGParamSpec; owner_type: TGType); cdecl; inline; listnull734 function list(owner_type: TGType; n_pspecs_p: Pguint): PPGParamSpec; cdecl; inline; list_ownednull735 function list_owned(owner_type: TGType): PGList; cdecl; inline; lookupnull736 function lookup(param_name: Pgchar; owner_type: TGType; walk_ancestors: gboolean): PGParamSpec; cdecl; inline; 737 procedure remove(pspec: PGParamSpec); cdecl; inline; newnull738 function new(type_prefixing: gboolean): PGParamSpecPool; cdecl; inline; static; 739 end; 740 741 PPGParamSpecString = ^PGParamSpecString; 742 PGParamSpecString = ^TGParamSpecString; 743 TGParamSpecStringBitfield0 = bitpacked record 744 null_fold_if_empty: guint1 { changed from guint to accomodate 1 bitsize requirement }; 745 ensure_non_null: guint1 { changed from guint to accomodate 1 bitsize requirement }; 746 end; 747 748 TGParamSpecString = object(TGParamSpec) 749 default_value: Pgchar; 750 cset_first: Pgchar; 751 cset_nth: Pgchar; 752 substitutor: gchar; 753 Bitfield0 : TGParamSpecStringBitfield0; { auto generated type } 754 end; 755 756 PPGParamSpecTypeInfo = ^PGParamSpecTypeInfo; 757 PGParamSpecTypeInfo = ^TGParamSpecTypeInfo; 758 759 TGParamSpecTypeInfo = record 760 instance_size: guint16; 761 n_preallocs: guint16; 762 instance_init: procedure(pspec: PGParamSpec); cdecl; 763 value_type: TGType; 764 finalize: procedure(pspec: PGParamSpec); cdecl; 765 value_set_default: procedure(pspec: PGParamSpec; value: PGValue); cdecl; specnull766 value_validate: function(pspec: PGParamSpec; value: PGValue): gboolean; cdecl; specnull767 values_cmp: function(pspec: PGParamSpec; value1: PGValue; value2: PGValue): gint; cdecl; 768 end; 769 770 771 772 PPGParamSpecUChar = ^PGParamSpecUChar; 773 PGParamSpecUChar = ^TGParamSpecUChar; 774 TGParamSpecUChar = object(TGParamSpec) 775 minimum: guint8; 776 maximum: guint8; 777 default_value: guint8; 778 end; 779 780 PPGParamSpecUInt = ^PGParamSpecUInt; 781 PGParamSpecUInt = ^TGParamSpecUInt; 782 TGParamSpecUInt = object(TGParamSpec) 783 minimum: guint; 784 maximum: guint; 785 default_value: guint; 786 end; 787 788 PPGParamSpecUInt64 = ^PGParamSpecUInt64; 789 PGParamSpecUInt64 = ^TGParamSpecUInt64; 790 TGParamSpecUInt64 = object(TGParamSpec) 791 minimum: guint64; 792 maximum: guint64; 793 default_value: guint64; 794 end; 795 796 PPGParamSpecULong = ^PGParamSpecULong; 797 PGParamSpecULong = ^TGParamSpecULong; 798 TGParamSpecULong = object(TGParamSpec) 799 minimum: gulong; 800 maximum: gulong; 801 default_value: gulong; 802 end; 803 804 PPGParamSpecUnichar = ^PGParamSpecUnichar; 805 PGParamSpecUnichar = ^TGParamSpecUnichar; 806 TGParamSpecUnichar = object(TGParamSpec) 807 default_value: gunichar; 808 end; 809 810 PPGParamSpecValueArray = ^PGParamSpecValueArray; 811 PGParamSpecValueArray = ^TGParamSpecValueArray; 812 TGParamSpecValueArray = object(TGParamSpec) 813 element_spec: PGParamSpec; 814 fixed_n_elements: guint; 815 end; 816 817 PPGParamSpecVariant = ^PGParamSpecVariant; 818 PGParamSpecVariant = ^TGParamSpecVariant; 819 TGParamSpecVariant = object(TGParamSpec) 820 type_: PGVariantType; 821 default_value: PGVariant; 822 padding: array [0..3] of gpointer; 823 end; 824 825 PPGSignalInvocationHint = ^PGSignalInvocationHint; 826 PGSignalInvocationHint = ^TGSignalInvocationHint; 827 828 PPGSignalFlags = ^PGSignalFlags; 829 PGSignalFlags = ^TGSignalFlags; 830 831 TGSignalInvocationHint = record 832 signal_id: guint; 833 detail: TGQuark; 834 run_type: TGSignalFlags; 835 end; 836 837 hintnull838 TGSignalAccumulator = function(ihint: PGSignalInvocationHint; return_accu: PGValue; handler_return: PGValue; data: gpointer): gboolean; cdecl; hintnull839 TGSignalEmissionHook = function(ihint: PGSignalInvocationHint; n_param_values: guint; param_values: PGValue; data: gpointer): gboolean; cdecl; 840 841 PPGSignalMatchType = ^PGSignalMatchType; 842 PGSignalMatchType = ^TGSignalMatchType; 843 844 PPGSignalQuery = ^PGSignalQuery; 845 PGSignalQuery = ^TGSignalQuery; 846 847 TGSignalQuery = record 848 signal_id: guint; 849 signal_name: Pgchar; 850 itype: TGType; 851 signal_flags: TGSignalFlags; 852 return_type: TGType; 853 n_params: guint; 854 param_types: PGType; 855 end; 856 857 858 TGTypeCValue = record 859 case longint of 860 0 : (v_int: gint); 861 1 : (v_long: glong); 862 2 : (v_int64: gint64); 863 3 : (v_double: gdouble); 864 4 : (v_pointer: gpointer); 865 end; 866 867 ache_datanull868 TGTypeClassCacheFunc = function(cache_data: gpointer; g_class: PGTypeClass): gboolean; cdecl; 869 870 PPGTypeDebugFlags = ^PGTypeDebugFlags; 871 PGTypeDebugFlags = ^TGTypeDebugFlags; 872 873 PPGTypeFlags = ^PGTypeFlags; 874 PGTypeFlags = ^TGTypeFlags; 875 876 PPGTypeFundamentalFlags = ^PGTypeFundamentalFlags; 877 PGTypeFundamentalFlags = ^TGTypeFundamentalFlags; 878 879 PPGTypeFundamentalInfo = ^PGTypeFundamentalInfo; 880 PGTypeFundamentalInfo = ^TGTypeFundamentalInfo; 881 882 TGTypeFundamentalInfo = record 883 type_flags: TGTypeFundamentalFlags; 884 end; 885 886 887 888 PPGTypeValueTable = ^PGTypeValueTable; 889 PGTypeValueTable = ^TGTypeValueTable; 890 891 PPGTypeCValue = ^PGTypeCValue; 892 PGTypeCValue = ^TGTypeCValue; 893 TGTypeValueTable = object 894 value_init: procedure(value: PGValue); cdecl; 895 value_free: procedure(value: PGValue); cdecl; 896 value_copy: procedure(src_value: PGValue; dest_value: PGValue); cdecl; aluenull897 value_peek_pointer: function(value: PGValue): gpointer; cdecl; 898 collect_format: Pgchar; aluenull899 collect_value: function(value: PGValue; n_collect_values: guint; collect_values: PGTypeCValue; collect_flags: guint): Pgchar; cdecl; 900 lcopy_format: Pgchar; aluenull901 lcopy_value: function(value: PGValue; n_collect_values: guint; collect_values: PGTypeCValue; collect_flags: guint): Pgchar; cdecl; peeknull902 function peek(type_: TGType): PGTypeValueTable; cdecl; inline; static; 903 end; 904 905 PPGTypeInfo = ^PGTypeInfo; 906 PGTypeInfo = ^TGTypeInfo; 907 908 PPGBaseInitFunc = ^PGBaseInitFunc; 909 PGBaseInitFunc = ^TGBaseInitFunc; 910 911 PPGBaseFinalizeFunc = ^PGBaseFinalizeFunc; 912 PGBaseFinalizeFunc = ^TGBaseFinalizeFunc; 913 914 PPGClassInitFunc = ^PGClassInitFunc; 915 PGClassInitFunc = ^TGClassInitFunc; 916 917 PPGClassFinalizeFunc = ^PGClassFinalizeFunc; 918 PGClassFinalizeFunc = ^TGClassFinalizeFunc; 919 920 PPGInstanceInitFunc = ^PGInstanceInitFunc; 921 PGInstanceInitFunc = ^TGInstanceInitFunc; 922 923 TGTypeInfo = record 924 class_size: guint16; 925 base_init: TGBaseInitFunc; 926 base_finalize: TGBaseFinalizeFunc; 927 class_init: TGClassInitFunc; 928 class_finalize: TGClassFinalizeFunc; 929 class_data: Pgpointer; 930 instance_size: guint16; 931 n_preallocs: guint16; 932 instance_init: TGInstanceInitFunc; 933 value_table: PGTypeValueTable; 934 end; 935 936 937 938 PPGTypeInterface = ^PGTypeInterface; 939 PGTypeInterface = ^TGTypeInterface; 940 941 PPGTypePlugin = ^PGTypePlugin; 942 PGTypePlugin = ^TGTypePlugin; 943 TGTypeInterface = object 944 g_type: TGType; 945 g_instance_type: TGType; peek_parentnull946 function peek_parent: PGTypeInterface; cdecl; inline; 947 procedure add_prerequisite(interface_type: TGType; prerequisite_type: TGType); cdecl; inline; static; get_pluginnull948 function get_plugin(instance_type: TGType; interface_type: TGType): PGTypePlugin; cdecl; inline; static; peeknull949 function peek(instance_class: PGTypeClass; iface_type: TGType): PGTypeInterface; cdecl; inline; static; prerequisitesnull950 function prerequisites(interface_type: TGType; n_prerequisites: Pguint): PGType; cdecl; inline; static; 951 end; 952 TGTypePlugin = object 953 procedure complete_interface_info(instance_type: TGType; interface_type: TGType; info: PGInterfaceInfo); cdecl; inline; 954 procedure complete_type_info(g_type: TGType; info: PGTypeInfo; value_table: PGTypeValueTable); cdecl; inline; 955 procedure unuse; cdecl; inline; 956 procedure use; cdecl; inline; 957 end; 958 TGTypeInterfaceCheckFunc = procedure(check_data: gpointer; g_iface: gpointer); cdecl; 959 960 PPGTypeModule = ^PGTypeModule; 961 PGTypeModule = ^TGTypeModule; 962 TGTypeModule = object(TGObject) 963 use_count: guint; 964 type_infos: PGSList; 965 interface_infos: PGSList; 966 name: Pgchar; 967 procedure add_interface(instance_type: TGType; interface_type: TGType; interface_info: PGInterfaceInfo); cdecl; inline; register_enumnull968 function register_enum(name: Pgchar; const_static_values: PGEnumValue): TGType; cdecl; inline; register_flagsnull969 function register_flags(name: Pgchar; const_static_values: PGFlagsValue): TGType; cdecl; inline; register_typenull970 function register_type(parent_type: TGType; type_name: Pgchar; type_info: PGTypeInfo; flags: TGTypeFlags): TGType; cdecl; inline; 971 procedure set_name(name: Pgchar); cdecl; inline; 972 procedure unuse; cdecl; inline; usenull973 function use: gboolean; cdecl; inline; 974 end; 975 976 PPGTypeModuleClass = ^PGTypeModuleClass; 977 PGTypeModuleClass = ^TGTypeModuleClass; 978 TGTypeModuleClass = object 979 parent_class: TGObjectClass; odulenull980 load: function(module: PGTypeModule): gboolean; cdecl; 981 unload: procedure(module: PGTypeModule); cdecl; 982 reserved1: procedure; cdecl; 983 reserved2: procedure; cdecl; 984 reserved3: procedure; cdecl; 985 reserved4: procedure; cdecl; 986 end; 987 TGTypePluginUse = procedure(plugin: PGTypePlugin); cdecl; 988 TGTypePluginUnuse = procedure(plugin: PGTypePlugin); cdecl; 989 TGTypePluginCompleteTypeInfo = procedure(plugin: PGTypePlugin; g_type: TGType; info: PGTypeInfo; value_table: PGTypeValueTable); cdecl; 990 TGTypePluginCompleteInterfaceInfo = procedure(plugin: PGTypePlugin; instance_type: TGType; interface_type: TGType; info: PGInterfaceInfo); cdecl; 991 992 PPGTypePluginClass = ^PGTypePluginClass; 993 PGTypePluginClass = ^TGTypePluginClass; 994 995 PPGTypePluginUse = ^PGTypePluginUse; 996 PGTypePluginUse = ^TGTypePluginUse; 997 998 PPGTypePluginUnuse = ^PGTypePluginUnuse; 999 PGTypePluginUnuse = ^TGTypePluginUnuse; 1000 1001 PPGTypePluginCompleteTypeInfo = ^PGTypePluginCompleteTypeInfo; 1002 PGTypePluginCompleteTypeInfo = ^TGTypePluginCompleteTypeInfo; 1003 1004 PPGTypePluginCompleteInterfaceInfo = ^PGTypePluginCompleteInterfaceInfo; 1005 PGTypePluginCompleteInterfaceInfo = ^TGTypePluginCompleteInterfaceInfo; 1006 1007 TGTypePluginClass = record 1008 base_iface: TGTypeInterface; 1009 use_plugin: TGTypePluginUse; 1010 unuse_plugin: TGTypePluginUnuse; 1011 complete_type_info: TGTypePluginCompleteTypeInfo; 1012 complete_interface_info: TGTypePluginCompleteInterfaceInfo; 1013 end; 1014 1015 1016 1017 PPGTypeQuery = ^PGTypeQuery; 1018 PGTypeQuery = ^TGTypeQuery; 1019 1020 TGTypeQuery = record 1021 type_: TGType; 1022 type_name: Pgchar; 1023 class_size: guint; 1024 instance_size: guint; 1025 end; 1026 1027 1028 1029 PPGValueArray = ^PGValueArray; 1030 PGValueArray = ^TGValueArray; 1031 TGValueArray = object 1032 n_values: guint; 1033 values: PGValue; 1034 n_prealloced: guint; 1035 end; 1036 1037 PPGWeakRef = ^PGWeakRef; 1038 PGWeakRef = ^TGWeakRef; 1039 TGWeakRef_union_priv = record 1040 case longint of 1041 0 : (p: gpointer); 1042 end; 1043 1044 1045 TGWeakRef = object 1046 priv: TGWeakRef_union_priv; //union extracted from object and named 'TGWeakRef_union_priv' 1047 procedure clear; cdecl; inline; getnull1048 function get: PGObject; cdecl; inline; 1049 procedure init(object_: gpointer); cdecl; inline; 1050 procedure set_(object_: gpointer); cdecl; inline; 1051 end; 1052 g_binding_get_flagsnull1053function g_binding_get_flags(binding: PGBinding): TGBindingFlags; cdecl; external; g_binding_get_sourcenull1054function g_binding_get_source(binding: PGBinding): PGObject; cdecl; external; g_binding_get_source_propertynull1055function g_binding_get_source_property(binding: PGBinding): Pgchar; cdecl; external; g_binding_get_targetnull1056function g_binding_get_target(binding: PGBinding): PGObject; cdecl; external; g_binding_get_target_propertynull1057function g_binding_get_target_property(binding: PGBinding): Pgchar; cdecl; external; g_binding_get_typenull1058function g_binding_get_type: TGType; cdecl; external; g_boxed_copynull1059function g_boxed_copy(boxed_type: TGType; src_boxed: Pgpointer): gpointer; cdecl; external; g_boxed_type_register_staticnull1060function g_boxed_type_register_static(name: Pgchar; boxed_copy: TGBoxedCopyFunc; boxed_free: TGBoxedFreeFunc): TGType; cdecl; external; g_cclosure_newnull1061function g_cclosure_new(callback_func: TGCallback; user_data: gpointer; destroy_data: TGClosureNotify): PGClosure; cdecl; external; g_cclosure_new_objectnull1062function g_cclosure_new_object(callback_func: TGCallback; object_: PGObject): PGClosure; cdecl; external; g_cclosure_new_object_swapnull1063function g_cclosure_new_object_swap(callback_func: TGCallback; object_: PGObject): PGClosure; cdecl; external; g_cclosure_new_swapnull1064function g_cclosure_new_swap(callback_func: TGCallback; user_data: gpointer; destroy_data: TGClosureNotify): PGClosure; cdecl; external; g_closure_get_typenull1065function g_closure_get_type: TGType; cdecl; external; g_closure_new_objectnull1066function g_closure_new_object(sizeof_closure: guint; object_: PGObject): PGClosure; cdecl; external; g_closure_new_simplenull1067function g_closure_new_simple(sizeof_closure: guint; data: gpointer): PGClosure; cdecl; external; g_closure_refnull1068function g_closure_ref(closure: PGClosure): PGClosure; cdecl; external; g_enum_get_valuenull1069function g_enum_get_value(enum_class: PGEnumClass; value: gint): PGEnumValue; cdecl; external; g_enum_get_value_by_namenull1070function g_enum_get_value_by_name(enum_class: PGEnumClass; name: Pgchar): PGEnumValue; cdecl; external; g_enum_get_value_by_nicknull1071function g_enum_get_value_by_nick(enum_class: PGEnumClass; nick: Pgchar): PGEnumValue; cdecl; external; g_enum_register_staticnull1072function g_enum_register_static(name: Pgchar; const_static_values: PGEnumValue): TGType; cdecl; external; g_flags_get_first_valuenull1073function g_flags_get_first_value(flags_class: PGFlagsClass; value: guint): PGFlagsValue; cdecl; external; g_flags_get_value_by_namenull1074function g_flags_get_value_by_name(flags_class: PGFlagsClass; name: Pgchar): PGFlagsValue; cdecl; external; g_flags_get_value_by_nicknull1075function g_flags_get_value_by_nick(flags_class: PGFlagsClass; nick: Pgchar): PGFlagsValue; cdecl; external; g_flags_register_staticnull1076function g_flags_register_static(name: Pgchar; const_static_values: PGFlagsValue): TGType; cdecl; external; g_gtype_get_typenull1077function g_gtype_get_type: TGType; cdecl; external; g_initially_unowned_get_typenull1078function g_initially_unowned_get_type: TGType; cdecl; external; g_object_bind_propertynull1079function g_object_bind_property(source: PGObject; source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags): PGBinding; cdecl; external; g_object_bind_property_fullnull1080function 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_closuresnull1081function 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_propertynull1082function g_object_class_find_property(oclass: PGObjectClass; property_name: Pgchar): PGParamSpec; cdecl; external; g_object_class_list_propertiesnull1083function g_object_class_list_properties(oclass: PGObjectClass; n_properties: Pguint): PPGParamSpec; cdecl; external; g_object_compat_controlnull1084function g_object_compat_control(what: gsize; data: gpointer): gsize; cdecl; external; g_object_connectnull1085function g_object_connect(object_: gpointer; signal_spec: Pgchar; args: array of const): gpointer; cdecl; external; g_object_dup_datanull1086function g_object_dup_data(object_: PGObject; key: Pgchar; dup_func: TGDuplicateFunc; user_data: gpointer): gpointer; cdecl; external; g_object_dup_qdatanull1087function g_object_dup_qdata(object_: PGObject; quark: TGQuark; dup_func: TGDuplicateFunc; user_data: gpointer): gpointer; cdecl; external; g_object_get_datanull1088function g_object_get_data(object_: PGObject; key: Pgchar): gpointer; cdecl; external; g_object_get_qdatanull1089function g_object_get_qdata(object_: PGObject; quark: TGQuark): gpointer; cdecl; external; g_object_get_typenull1090function g_object_get_type: TGType; cdecl; external; g_object_interface_find_propertynull1091function g_object_interface_find_property(g_iface: gpointer; property_name: Pgchar): PGParamSpec; cdecl; external; g_object_interface_list_propertiesnull1092function g_object_interface_list_properties(g_iface: gpointer; n_properties_p: Pguint): PPGParamSpec; cdecl; external; g_object_is_floatingnull1093function g_object_is_floating(object_: PGObject): gboolean; cdecl; external; g_object_newnull1094function g_object_new(object_type: TGType; first_property_name: Pgchar; args: array of const): gpointer; cdecl; external; g_object_new_valistnull1095function g_object_new_valist(object_type: TGType; first_property_name: Pgchar; var_args: Tva_list): PGObject; cdecl; external; g_object_newvnull1096function g_object_newv(object_type: TGType; n_parameters: guint; parameters: PGParameter): PGObject; cdecl; external; g_object_refnull1097function g_object_ref(object_: PGObject): PGObject; cdecl; external; g_object_ref_sinknull1098function g_object_ref_sink(object_: PGObject): PGObject; cdecl; external; g_object_replace_datanull1099function g_object_replace_data(object_: PGObject; key: Pgchar; oldval: gpointer; newval: gpointer; destroy_: TGDestroyNotify; old_destroy: PGDestroyNotify): gboolean; cdecl; external; g_object_replace_qdatanull1100function g_object_replace_qdata(object_: PGObject; quark: TGQuark; oldval: gpointer; newval: gpointer; destroy_: TGDestroyNotify; old_destroy: PGDestroyNotify): gboolean; cdecl; external; g_object_steal_datanull1101function g_object_steal_data(object_: PGObject; key: Pgchar): gpointer; cdecl; external; g_object_steal_qdatanull1102function g_object_steal_qdata(object_: PGObject; quark: TGQuark): gpointer; cdecl; external; g_param_spec_booleannull1103function g_param_spec_boolean(name: Pgchar; nick: Pgchar; blurb: Pgchar; default_value: gboolean; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_boxednull1104function g_param_spec_boxed(name: Pgchar; nick: Pgchar; blurb: Pgchar; boxed_type: TGType; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_charnull1105function 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_doublenull1106function 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_enumnull1107function g_param_spec_enum(name: Pgchar; nick: Pgchar; blurb: Pgchar; enum_type: TGType; default_value: gint; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_flagsnull1108function g_param_spec_flags(name: Pgchar; nick: Pgchar; blurb: Pgchar; flags_type: TGType; default_value: guint; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_floatnull1109function 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_blurbnull1110function g_param_spec_get_blurb(pspec: PGParamSpec): Pgchar; cdecl; external; g_param_spec_get_namenull1111function g_param_spec_get_name(pspec: PGParamSpec): Pgchar; cdecl; external; g_param_spec_get_nicknull1112function g_param_spec_get_nick(pspec: PGParamSpec): Pgchar; cdecl; external; g_param_spec_get_qdatanull1113function g_param_spec_get_qdata(pspec: PGParamSpec; quark: TGQuark): gpointer; cdecl; external; g_param_spec_get_redirect_targetnull1114function g_param_spec_get_redirect_target(pspec: PGParamSpec): PGParamSpec; cdecl; external; g_param_spec_gtypenull1115function g_param_spec_gtype(name: Pgchar; nick: Pgchar; blurb: Pgchar; is_a_type: TGType; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_intnull1116function 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_int64null1117function 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_internalnull1118function g_param_spec_internal(param_type: TGType; name: Pgchar; nick: Pgchar; blurb: Pgchar; flags: TGParamFlags): gpointer; cdecl; external; g_param_spec_longnull1119function 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_objectnull1120function g_param_spec_object(name: Pgchar; nick: Pgchar; blurb: Pgchar; object_type: TGType; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_overridenull1121function g_param_spec_override(name: Pgchar; overridden: PGParamSpec): PGParamSpec; cdecl; external; g_param_spec_paramnull1122function g_param_spec_param(name: Pgchar; nick: Pgchar; blurb: Pgchar; param_type: TGType; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_pointernull1123function g_param_spec_pointer(name: Pgchar; nick: Pgchar; blurb: Pgchar; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_pool_listnull1124function g_param_spec_pool_list(pool: PGParamSpecPool; owner_type: TGType; n_pspecs_p: Pguint): PPGParamSpec; cdecl; external; g_param_spec_pool_list_ownednull1125function g_param_spec_pool_list_owned(pool: PGParamSpecPool; owner_type: TGType): PGList; cdecl; external; g_param_spec_pool_lookupnull1126function g_param_spec_pool_lookup(pool: PGParamSpecPool; param_name: Pgchar; owner_type: TGType; walk_ancestors: gboolean): PGParamSpec; cdecl; external; g_param_spec_pool_newnull1127function g_param_spec_pool_new(type_prefixing: gboolean): PGParamSpecPool; cdecl; external; g_param_spec_refnull1128function g_param_spec_ref(pspec: PGParamSpec): PGParamSpec; cdecl; external; g_param_spec_ref_sinknull1129function g_param_spec_ref_sink(pspec: PGParamSpec): PGParamSpec; cdecl; external; g_param_spec_steal_qdatanull1130function g_param_spec_steal_qdata(pspec: PGParamSpec; quark: TGQuark): gpointer; cdecl; external; g_param_spec_stringnull1131function g_param_spec_string(name: Pgchar; nick: Pgchar; blurb: Pgchar; default_value: Pgchar; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_ucharnull1132function 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_uintnull1133function 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_uint64null1134function 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_ulongnull1135function 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_unicharnull1136function g_param_spec_unichar(name: Pgchar; nick: Pgchar; blurb: Pgchar; default_value: gunichar; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_value_arraynull1137function g_param_spec_value_array(name: Pgchar; nick: Pgchar; blurb: Pgchar; element_spec: PGParamSpec; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_spec_variantnull1138function g_param_spec_variant(name: Pgchar; nick: Pgchar; blurb: Pgchar; type_: PGVariantType; default_value: PGVariant; flags: TGParamFlags): PGParamSpec; cdecl; external; g_param_type_register_staticnull1139function g_param_type_register_static(name: Pgchar; pspec_info: PGParamSpecTypeInfo): TGType; cdecl; external; g_param_value_convertnull1140function g_param_value_convert(pspec: PGParamSpec; src_value: PGValue; dest_value: PGValue; strict_validation: gboolean): gboolean; cdecl; external; g_param_value_defaultsnull1141function g_param_value_defaults(pspec: PGParamSpec; value: PGValue): gboolean; cdecl; external; g_param_value_validatenull1142function g_param_value_validate(pspec: PGParamSpec; value: PGValue): gboolean; cdecl; external; g_param_values_cmpnull1143function g_param_values_cmp(pspec: PGParamSpec; value1: PGValue; value2: PGValue): gint; cdecl; external; g_pointer_type_register_staticnull1144function g_pointer_type_register_static(name: Pgchar): TGType; cdecl; external; g_signal_accumulator_first_winsnull1145function g_signal_accumulator_first_wins(ihint: PGSignalInvocationHint; return_accu: PGValue; handler_return: PGValue; dummy: gpointer): gboolean; cdecl; external; g_signal_accumulator_true_handlednull1146function g_signal_accumulator_true_handled(ihint: PGSignalInvocationHint; return_accu: PGValue; handler_return: PGValue; dummy: gpointer): gboolean; cdecl; external; g_signal_add_emission_hooknull1147function 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_closurenull1148function g_signal_connect_closure(instance: gpointer; detailed_signal: Pgchar; closure: PGClosure; after: gboolean): gulong; cdecl; external; g_signal_connect_closure_by_idnull1149function g_signal_connect_closure_by_id(instance: gpointer; signal_id: guint; detail: TGQuark; closure: PGClosure; after: gboolean): gulong; cdecl; external; g_signal_connect_datanull1150function 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_objectnull1151function g_signal_connect_object(instance: gpointer; detailed_signal: Pgchar; c_handler: TGCallback; gobject: gpointer; connect_flags: TGConnectFlags): gulong; cdecl; external; g_signal_get_invocation_hintnull1152function g_signal_get_invocation_hint(instance: gpointer): PGSignalInvocationHint; cdecl; external; g_signal_handler_findnull1153function 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_connectednull1154function g_signal_handler_is_connected(instance: gpointer; handler_id: gulong): gboolean; cdecl; external; g_signal_handlers_block_matchednull1155function 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_matchednull1156function 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_matchednull1157function 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_pendingnull1158function g_signal_has_handler_pending(instance: gpointer; signal_id: guint; detail: TGQuark; may_be_blocked: gboolean): gboolean; cdecl; external; g_signal_list_idsnull1159function g_signal_list_ids(itype: TGType; n_ids: Pguint): Pguint; cdecl; external; g_signal_lookupnull1160function g_signal_lookup(name: Pgchar; itype: TGType): guint; cdecl; external; g_signal_namenull1161function g_signal_name(signal_id: guint): Pgchar; cdecl; external; g_signal_newnull1162function 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_handlernull1163function 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_valistnull1164function 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_newvnull1165function 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_namenull1166function 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_newnull1167function g_signal_type_cclosure_new(itype: TGType; struct_offset: guint): PGClosure; cdecl; external; g_strdup_value_contentsnull1168function g_strdup_value_contents(value: PGValue): Pgchar; cdecl; external; g_type_check_class_castnull1169function g_type_check_class_cast(g_class: PGTypeClass; is_a_type: TGType): PGTypeClass; cdecl; external; g_type_check_class_is_anull1170function g_type_check_class_is_a(g_class: PGTypeClass; is_a_type: TGType): gboolean; cdecl; external; g_type_check_instancenull1171function g_type_check_instance(instance: PGTypeInstance): gboolean; cdecl; external; g_type_check_instance_castnull1172function g_type_check_instance_cast(instance: PGTypeInstance; iface_type: TGType): PGTypeInstance; cdecl; external; g_type_check_instance_is_anull1173function g_type_check_instance_is_a(instance: PGTypeInstance; iface_type: TGType): gboolean; cdecl; external; g_type_check_is_value_typenull1174function g_type_check_is_value_type(type_: TGType): gboolean; cdecl; external; g_type_check_valuenull1175function g_type_check_value(value: PGValue): gboolean; cdecl; external; g_type_check_value_holdsnull1176function g_type_check_value_holds(value: PGValue; type_: TGType): gboolean; cdecl; external; g_type_childrennull1177function g_type_children(type_: TGType; n_children: Pguint): PGType; cdecl; external; g_type_class_get_privatenull1178function g_type_class_get_private(klass: PGTypeClass; private_type: TGType): gpointer; cdecl; external; g_type_class_peeknull1179function g_type_class_peek(type_: TGType): PGTypeClass; cdecl; external; g_type_class_peek_parentnull1180function g_type_class_peek_parent(g_class: PGTypeClass): PGTypeClass; cdecl; external; g_type_class_peek_staticnull1181function g_type_class_peek_static(type_: TGType): PGTypeClass; cdecl; external; g_type_class_refnull1182function g_type_class_ref(type_: TGType): PGTypeClass; cdecl; external; g_type_create_instancenull1183function g_type_create_instance(type_: TGType): PGTypeInstance; cdecl; external; g_type_default_interface_peeknull1184function g_type_default_interface_peek(g_type: TGType): PGTypeInterface; cdecl; external; g_type_default_interface_refnull1185function g_type_default_interface_ref(g_type: TGType): PGTypeInterface; cdecl; external; g_type_depthnull1186function g_type_depth(type_: TGType): guint; cdecl; external; g_type_from_namenull1187function g_type_from_name(name: Pgchar): TGType; cdecl; external; g_type_fundamentalnull1188function g_type_fundamental(type_id: TGType): TGType; cdecl; external; g_type_fundamental_nextnull1189function g_type_fundamental_next: TGType; cdecl; external; g_type_get_pluginnull1190function g_type_get_plugin(type_: TGType): PGTypePlugin; cdecl; external; g_type_get_qdatanull1191function g_type_get_qdata(type_: TGType; quark: TGQuark): gpointer; cdecl; external; g_type_get_type_registration_serialnull1192function g_type_get_type_registration_serial: guint; cdecl; external; g_type_instance_get_privatenull1193function g_type_instance_get_private(instance: PGTypeInstance; private_type: TGType): gpointer; cdecl; external; g_type_interface_get_pluginnull1194function g_type_interface_get_plugin(instance_type: TGType; interface_type: TGType): PGTypePlugin; cdecl; external; g_type_interface_peeknull1195function g_type_interface_peek(instance_class: PGTypeClass; iface_type: TGType): PGTypeInterface; cdecl; external; g_type_interface_peek_parentnull1196function g_type_interface_peek_parent(g_iface: PGTypeInterface): PGTypeInterface; cdecl; external; g_type_interface_prerequisitesnull1197function g_type_interface_prerequisites(interface_type: TGType; n_prerequisites: Pguint): PGType; cdecl; external; g_type_interfacesnull1198function g_type_interfaces(type_: TGType; n_interfaces: Pguint): PGType; cdecl; external; g_type_is_anull1199function g_type_is_a(type_: TGType; is_a_type: TGType): gboolean; cdecl; external; g_type_module_get_typenull1200function g_type_module_get_type: TGType; cdecl; external; g_type_module_register_enumnull1201function g_type_module_register_enum(module: PGTypeModule; name: Pgchar; const_static_values: PGEnumValue): TGType; cdecl; external; g_type_module_register_flagsnull1202function g_type_module_register_flags(module: PGTypeModule; name: Pgchar; const_static_values: PGFlagsValue): TGType; cdecl; external; g_type_module_register_typenull1203function g_type_module_register_type(module: PGTypeModule; parent_type: TGType; type_name: Pgchar; type_info: PGTypeInfo; flags: TGTypeFlags): TGType; cdecl; external; g_type_module_usenull1204function g_type_module_use(module: PGTypeModule): gboolean; cdecl; external; g_type_namenull1205function g_type_name(type_: TGType): Pgchar; cdecl; external; g_type_name_from_classnull1206function g_type_name_from_class(g_class: PGTypeClass): Pgchar; cdecl; external; g_type_name_from_instancenull1207function g_type_name_from_instance(instance: PGTypeInstance): Pgchar; cdecl; external; g_type_next_basenull1208function g_type_next_base(leaf_type: TGType; root_type: TGType): TGType; cdecl; external; g_type_parentnull1209function g_type_parent(type_: TGType): TGType; cdecl; external; g_type_plugin_get_typenull1210function g_type_plugin_get_type: TGType; cdecl; external; g_type_qnamenull1211function g_type_qname(type_: TGType): TGQuark; cdecl; external; g_type_register_dynamicnull1212function g_type_register_dynamic(parent_type: TGType; type_name: Pgchar; plugin: PGTypePlugin; flags: TGTypeFlags): TGType; cdecl; external; g_type_register_fundamentalnull1213function g_type_register_fundamental(type_id: TGType; type_name: Pgchar; info: PGTypeInfo; finfo: PGTypeFundamentalInfo; flags: TGTypeFlags): TGType; cdecl; external; g_type_register_staticnull1214function g_type_register_static(parent_type: TGType; type_name: Pgchar; info: PGTypeInfo; flags: TGTypeFlags): TGType; cdecl; external; g_type_register_static_simplenull1215function 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_flagsnull1216function g_type_test_flags(type_: TGType; flags: guint): gboolean; cdecl; external; g_type_value_table_peeknull1217function g_type_value_table_peek(type_: TGType): PGTypeValueTable; cdecl; external; g_value_array_get_typenull1218function g_value_array_get_type: TGType; cdecl; external; g_value_dup_boxednull1219function g_value_dup_boxed(value: PGValue): gpointer; cdecl; external; g_value_dup_objectnull1220function g_value_dup_object(value: PGValue): PGObject; cdecl; external; g_value_dup_paramnull1221function g_value_dup_param(value: PGValue): PGParamSpec; cdecl; external; g_value_dup_stringnull1222function g_value_dup_string(value: PGValue): Pgchar; cdecl; external; g_value_dup_variantnull1223function g_value_dup_variant(value: PGValue): PGVariant; cdecl; external; g_value_fits_pointernull1224function g_value_fits_pointer(value: PGValue): gboolean; cdecl; external; g_value_get_booleannull1225function g_value_get_boolean(value: PGValue): gboolean; cdecl; external; g_value_get_boxednull1226function g_value_get_boxed(value: PGValue): gpointer; cdecl; external; g_value_get_doublenull1227function g_value_get_double(value: PGValue): gdouble; cdecl; external; g_value_get_enumnull1228function g_value_get_enum(value: PGValue): gint; cdecl; external; g_value_get_flagsnull1229function g_value_get_flags(value: PGValue): guint; cdecl; external; g_value_get_floatnull1230function g_value_get_float(value: PGValue): gfloat; cdecl; external; g_value_get_gtypenull1231function g_value_get_gtype(value: PGValue): TGType; cdecl; external; g_value_get_intnull1232function g_value_get_int(value: PGValue): gint; cdecl; external; g_value_get_int64null1233function g_value_get_int64(value: PGValue): gint64; cdecl; external; g_value_get_longnull1234function g_value_get_long(value: PGValue): glong; cdecl; external; g_value_get_objectnull1235