(in-package :gobject.ffi) (defcfun (g-type-fundamental "g_type_fundamental") g-type-designator "Returns the fundamental type which is the ancestor of @code{type}. Example: @pre{ \(g-type-fundamental \"GtkWindowType\") => \"GEnum\" \(g-type-fundamental \"GtkLabel\") => \"GObject\" } @arg[type]{GType designator (see @class{g-type-designator})} @return{GType designator}" (type g-type-designator)) (defcfun (%g-type-init "g_type_init") :void) (at-init () (%g-type-init)) (defcfun g-type-parent g-type-designator "Returns the parent of a GType. @see{g-type-chilren} Example: @pre{ \(g-type-parent \"GtkLabel\") => \"GtkMisc\" } @arg[type]{GType designator (see @class{g-type-designator})} @return{GType designator}" (type g-type-designator)) (defcfun g-type-depth :uint "Returns the length of the ancestry of @code{type}. This includes the @code{type} itself, so that e.g. a fundamental type has depth 1. Example: @pre{ \(g-type-depth \"GtkLabel\") => 6 } @arg[type]{GType designator (see @class{g-type-designator})} @return{an integer}" (type g-type-designator)) (defcfun g-type-next-base g-type-designator "Determines the type that is derived directly from @code{root-type} which is also a base class of @code{leaf-type}. Example: @pre{ \(g-type-next-base \"GtkButton\" \"GtkWidget\") => \"GtkContainer\" } @arg[leaf-type]{GType designator (see @class{g-type-designator})} @arg[root-type]{GType designator} @return{GType designator}" (leaf-type g-type-designator) (root-type g-type-designator)) (defcfun g-type-is-a :boolean "If @code{is-a-type} is a derivable type, check whether type is a descendant of @code{is-a-type}. If @code{is-a-type} is an interface, check whether type conforms to it. Example: @pre{ \(g-type-is-a \"GtkButton\" \"GtkWidget\") => T \(g-type-is-a \"GtkButton\" \"AtkImplementorIface\") => T \(g-type-is-a \"GtkButton\" \"GtkLabel\") => NIL } @arg[type]{GType designator (see @class{g-type-designator})} @arg[is-a-type]{GType designator} @return{boolean}" (type g-type-designator) (is-a-type g-type-designator)) (defcfun (%g-type-children "g_type_children") (:pointer g-type) (type g-type-designator) (n-children (:pointer :uint))) (defcfun (%g-type-interface-prerequisites "g_type_interface_prerequisites") (:pointer g-type) (type g-type-designator) (n-interface-prerequisites (:pointer :uint))) (defcfun g-strv-get-type g-type-designator "Returns the type designator (see @class{g-type-designator}) for GStrv type. As a side effect, ensures that the type is registered.") (at-init nil (g-strv-get-type)) (defcfun g-closure-get-type g-type-designator "Returns the type designator (see @class{g-type-designator}) for GClosure type. As a side effect, ensure that the type is registered.") (at-init nil (g-closure-get-type)) (defcfun (%g-type-interfaces "g_type_interfaces") (:pointer g-type) (type g-type-designator) (n-interfaces (:pointer :uint))) (defcstruct g-type-interface (:type g-type-designator) (:instance-type g-type-designator)) (defctype g-type-interface (:struct g-type-interface)) (defcstruct g-type-class (:type g-type-designator)) (defctype g-type-class (:struct g-type-class)) (defcstruct g-type-instance (:class (:pointer g-type-class))) (defctype g-type-instance (:struct g-type-instance)) (defcstruct g-type-info (:class-size :uint16) (:base-init-fn :pointer) (:base-finalize-fn :pointer) (:class-init-fn :pointer) (:class-finalize-fn :pointer) (:class-data :pointer) (:instance-size :uint16) (:n-preallocs :uint16) (:instance-init-fn :pointer) (:value-table :pointer)) (defctype g-type-info (:struct g-type-info)) (defcstruct g-type-query (:type g-type-designator) (:type-name (:string :free-from-foreign nil)) (:class-size :uint) (:instance-size :uint)) (defctype g-type-query (:struct g-type-query)) (defbitfield g-type-fundamental-flags :classed :instantiatable :derivable :deep-derivable) (defcstruct g-type-fundamental-info (:type-flags g-type-fundamental-flags)) (defctype g-type-fundamental-info (:struct g-type-fundamental-info)) (defcstruct g-interface-info (:interface-init :pointer) (:interface-finalize :pointer) (:interface-data :pointer)) (defctype g-interface-info (:struct g-interface-info)) (defcstruct g-type-value-table (:value-init :pointer) (:value-free :pointer) (:value-copy :pointer) (:value-peek-pointer :pointer) (:collect-format (:string :free-from-foreign nil :free-to-foreign nil)) (:collect-value :pointer) (:lcopy-format (:string :free-from-foreign nil :free-to-foreign nil)) (:lcopy-value :pointer)) (defctype g-type-value-table (:struct g-type-value-table)) (defbitfield g-type-flags (:abstract #. (ash 1 4)) :value-abstract) (defcstruct %g-object (:type-instance g-type-instance) (:ref-count :uint) (:data :pointer)) (defctype %g-object (:struct %g-object)) (defctype %g-initially-unowned (:struct %g-object)) (defcstruct g-object-class (:type-class g-type-class) (:construct-properties :pointer) (:constructor :pointer) (:set-property :pointer) (:get-property :pointer) (:dispose :pointer) (:finalize :pointer) (:dispatch-properties-changed :pointer) (:notify :pointer) (:constructed :pointer) (:pdummy :pointer :count 7)) (defctype g-object-class (:struct g-object-class)) (defbitfield g-param-flags :readable :writable :construct :construct-only :lax-validation :static-name :nick :blurb) (defcstruct g-param-spec (:type-instance g-type-instance) (:name (:string :free-from-foreign nil :free-to-foreign nil)) (:flags g-param-flags) (:value-type g-type-designator) (:owner-type g-type-designator)) (defctype g-param-spec (:struct g-param-spec)) (defcunion g-value-data (:int :int) (:uint :uint) (:long :long) (:ulong :ulong) (:int64 :int64) (:uint64 :uint64) (:float :float) (:double :double) (:pointer :pointer)) (defctype g-value-data (:union g-value-data)) (defcstruct g-value (:type g-type-designator) (:data g-value-data :count 2)) (defctype g-value (:struct g-value)) (defcstruct g-object-construct-param (:param-spec (:pointer g-param-spec)) (:value (:pointer g-value))) (defctype g-object-construct-param (:struct g-object-construct-param)) (defcstruct g-parameter (:name (:string :free-from-foreign nil :free-to-foreign nil)) (:value g-value)) (defctype g-parameter (:struct g-parameter)) (defcstruct g-enum-value (:value :int) (:name (:string :free-from-foreign nil :free-to-foreign nil)) (:nick (:string :free-from-foreign nil :free-to-foreign nil))) (defctype g-enum-value (:struct g-enum-value)) (defcstruct g-enum-class (:type-class g-type-class) (:minimum :int) (:maximum :int) (:n-values :uint) (:values (:pointer g-enum-value))) (defctype g-enum-class (:struct g-enum-class)) (defcstruct g-flags-value (:value :uint) (:name (:string :free-from-foreign nil :free-to-foreign nil)) (:nick (:string :free-from-foreign nil :free-to-foreign nil))) (defctype g-flags-value (:struct g-flags-value)) (defcstruct g-flags-class (:type-class g-type-class) (:mask :uint) (:n-values :uint) (:values (:pointer g-flags-value))) (defctype g-flags-class (:struct g-flags-class)) (defcstruct g-param-spec-boolean (:parent-instance g-param-spec) (:default-value :boolean)) (defctype g-param-spec-boolean (:struct g-param-spec-boolean)) (defcstruct g-param-spec-char (:parent-instance g-param-spec) (:minimum :int8) (:maximum :int8) (:default-value :int8)) (defctype g-param-spec-char (:struct g-param-spec-char)) (defcstruct g-param-spec-uchar (:parent-instance g-param-spec) (:minimum :uint8) (:maximum :uint8) (:default-value :uint8)) (defctype g-param-spec-uchar (:struct g-param-spec-uchar)) (defcstruct g-param-spec-int (:parent-instance g-param-spec) (:minimum :int) (:maximum :int) (:default-value :int)) (defctype g-param-spec-int (:struct g-param-spec-int)) (defcstruct g-param-spec-uint (:parent-instance g-param-spec) (:minimum :uint) (:maximum :uint) (:default-value :uint)) (defctype g-param-spec-uint (:struct g-param-spec-uint)) (defcstruct g-param-spec-long (:parent-instance g-param-spec) (:minimum :long) (:maximum :long) (:default-value :ulong)) (defctype g-param-spec-long (:struct g-param-spec-long)) (defcstruct g-param-spec-ulong (:parent-instance g-param-spec) (:minimum :ulong) (:maximum :ulong) (:default-value :ulong)) (defctype g-param-spec-ulong (:struct g-param-spec-ulong)) (defcstruct g-param-spec-int64 (:parent-instance g-param-spec) (:minimum :uint64) (:maximum :uint64) (:default-value :uint64)) (defctype g-param-spec-int64 (:struct g-param-spec-int64)) (defcstruct g-param-spec-uint64 (:parent-instance g-param-spec) (:minimum :uint64) (:maximum :uint64) (:default-value :uint64)) (defctype g-param-spec-uint64 (:struct g-param-spec-uint64)) (defcstruct g-param-spec-float (:parent-instance g-param-spec) (:minimum :float) (:maximum :float) (:default-value :float) (:epsilon :float)) (defctype g-param-spec-float (:struct g-param-spec-float)) (defcstruct g-param-spec-double (:parent-instance g-param-spec) (:minimum :double) (:maximum :double) (:default-value :double) (:epsilon :double)) (defctype g-param-spec-double (:struct g-param-spec-double)) (defcstruct g-param-spec-enum (:parent-instance g-param-spec) (:enum-class (:pointer g-enum-class)) (:default-value :int)) (defctype g-param-spec-enum (:struct g-param-spec-enum)) (defcstruct g-param-spec-flags (:parent-instance g-param-spec) (:flags-class (:pointer g-flags-class)) (:default-value :uint)) (defctype g-param-spec-flags (:struct g-param-spec-flags)) (defcstruct g-param-spec-string (:parent-instance g-param-spec) (:default-value (:string :free-to-foreign nil :free-from-foreign nil)) (:cset-first (:string :free-to-foreign nil :free-from-foreign nil)) (:cset-nth (:string :free-to-foreign nil :free-from-foreign nil)) (:substitutor :char) (:flags-for-null :uint)) (defctype g-param-spec-string (:struct g-param-spec-string)) (defcstruct g-param-spec-param (:parent-instance g-param-spec)) (defctype g-param-spec-param (:struct g-param-spec-param)) (defcstruct g-param-spec-boxed (:parent-instance g-param-spec)) (defctype g-param-spec-boxed (:struct g-param-spec-boxed)) (defcstruct g-param-spec-pointer (:parent-instance g-param-spec)) (defctype g-param-spec-pointer (:struct g-param-spec-pointer)) (defcstruct g-param-spec-object (:parent-instance g-param-spec)) (defctype g-param-spec-object (:struct g-param-spec-object)) (defcstruct g-param-spec-value-array (:parent-instance g-param-spec) (:element-spec (:pointer g-param-spec)) (:fixed-n-elements :uint)) (defctype g-param-spec-value-array (:struct g-param-spec-value-array)) (defcstruct g-param-spec-g-type (:parent-instance g-param-spec) (:types-root g-type-designator)) (defctype g-param-spec-g-type (:struct g-param-spec-g-type)) (defcstruct g-param-spec-class (:type-class g-type-class) (:value-type g-type-designator) (:finalize :pointer) (:value-set-default :pointer) (:value-validate :pointer) (:values-cmp :pointer)) (defctype g-param-spec-class (:struct g-param-spec-class)) (defcstruct g-closure (:private-data :uint32) (:marshal :pointer) (:data :pointer) (:notifiers :pointer)) (defctype g-closure (:struct g-closure)) (defcfun g-type-class-ref (:pointer g-type-class) (type g-type-designator)) (defcfun g-type-class-unref :void (class (:pointer g-type-class))) (defcfun g-type-class-add-private :void (class (:pointer g-type-class)) (private-size gsize)) (defcfun g-type-register-static g-type-designator (parent-type g-type-designator) (type-name :string) (info (:pointer g-type-info)) (flags g-type-flags)) (defcfun g-type-register-static-simple g-type-designator (parent-type g-type-designator) (type-name :string) (class-size :uint) (class-init :pointer) (instance-size :uint) (instance-init :pointer) (flags g-type-flags)) (defcfun g-type-add-interface-static :void (instance-type g-type-designator) (interface-type g-type-designator) (info (:pointer g-interface-info))) (defcfun g-type-interface-add-prerequisite :void (interface-type g-type-designator) (prerequisite-type g-type-designator)) (defcfun g-type-query :void (type g-type-designator) (query (:pointer g-type-query))) (defcfun g-type-default-interface-ref :pointer (type g-type-designator)) (defcfun g-type-default-interface-unref :void (interface :pointer)) (defcfun g-boxed-copy :pointer (boxed-type g-type-designator) (src-boxed :pointer)) (defcfun g-boxed-free :void (boxed-type g-type-designator) (boxed :pointer)) (defcfun g-boxed-type-register-static g-type-designator (name :string) (copy-fn :pointer) (free-fn :pointer)) (defcfun g-pointer-type-register-static g-type-designator (name :string)) (defcfun g-closure-ref (:pointer g-closure) (closure (:pointer g-closure))) (defcfun g-closure-sink :void (closure (:pointer g-closure))) (defcfun g-closure-unref :void (closure (:pointer g-closure))) (defcfun g-closure-invalidate :void (closure (:pointer g-closure))) (defcfun g-closure-add-finalize-notifier :void (closure (:pointer g-closure)) (notify-data :pointer) (notify-func :pointer)) (defcfun g-closure-add-invalidate-notifier :void (closure (:pointer g-closure)) (notify-data :pointer) (notify-func :pointer)) (defcfun g-closure-new-simple (:pointer g-closure) (sizeof-closure :uint) (data :pointer)) (defcfun g-closure-set-marshal :void (closure (:pointer g-closure)) (marshal :pointer)) (defcfun g-enum-register-static g-type-designator (name :string) (static-values (:pointer g-enum-value))) (defcfun g-flags-register-static g-type-designator (name :string) (static-values (:pointer g-flags-value))) (defcfun g-param-spec-boolean (:pointer g-param-spec-boolean) (name :string) (nick :string) (blurb :string) (default-value :boolean) (flags g-param-flags)) (defcfun g-value-set-boolean :void (g-value (:pointer g-value)) (new-value :boolean)) (defcfun g-value-get-boolean :boolean (g-value (:pointer g-value))) (defcfun g-param-spec-char (:pointer g-param-spec-char) (name :string) (nick :string) (blurb :string) (minimum :int8) (maximum :int8) (default-value :int8) (flags g-param-flags)) (defcfun g-value-set-char :void (g-value (:pointer g-value)) (new-value :char)) (defcfun g-value-get-char :char (g-value (:pointer g-value))) (defcfun g-param-spec-uchar (:pointer g-param-spec-uchar) (name :string) (nick :string) (blurb :string) (minimum :uint8) (maximum :uint8) (default-value :uint8) (flags g-param-flags)) (defcfun g-value-set-uchar :void (g-value (:pointer g-value)) (new-value :uchar)) (defcfun g-value-get-uchar :uchar (g-value (:pointer g-value))) (defcfun g-param-spec-int (:pointer g-param-spec-int) (name :string) (nick :string) (blurb :string) (minimum :int) (maximum :int) (default-value :int) (flags g-param-flags)) (defcfun g-value-set-int :void (g-value (:pointer g-value)) (new-value :int)) (defcfun g-value-get-int :int (g-value (:pointer g-value))) (defcfun g-param-spec-uint (:pointer g-param-spec-uint) (name :string) (nick :string) (blurb :string) (minimum :uint) (maximum :uint) (default-value :uint) (flags g-param-flags)) (defcfun g-value-set-uint :void (g-value (:pointer g-value)) (new-value :uint)) (defcfun g-value-get-uint :uint (g-value (:pointer g-value))) (defcfun g-param-spec-long (:pointer g-param-spec-long) (name :string) (nick :string) (blurb :string) (minimum :long) (maximum :long) (default-value :long) (flags g-param-flags)) (defcfun g-value-set-long :void (g-value (:pointer g-value)) (new-value :long)) (defcfun g-value-get-long :long (g-value (:pointer g-value))) (defcfun g-param-spec-ulong (:pointer g-param-spec-ulong) (name :string) (nick :string) (blurb :string) (minimum :ulong) (maximum :ulong) (default-value :ulong) (flags g-param-flags)) (defcfun g-value-set-ulong :void (g-value (:pointer g-value)) (new-value :ulong)) (defcfun g-value-get-ulong :ulong (g-value (:pointer g-value))) (defcfun g-param-spec-int64 (:pointer g-param-spec-int64) (name :string) (nick :string) (blurb :string) (minimum :int64) (maximum :int64) (default-value :int64) (flags g-param-flags)) (defcfun g-value-set-int64 :void (g-value (:pointer g-value)) (new-value :int64)) (defcfun g-value-get-int64 :int64 (g-value (:pointer g-value))) (defcfun g-param-spec-uint64 (:pointer g-param-spec-uint64) (name :string) (nick :string) (blurb :string) (minimum :uint64) (maximum :uint64) (default-value :uint64) (flags g-param-flags)) (defcfun g-value-set-uint64 :void (g-value (:pointer g-value)) (new-value :uint64)) (defcfun g-value-get-uint64 :uint64 (g-value (:pointer g-value))) (defcfun g-param-spec-float (:pointer g-param-spec-float) (name :string) (nick :string) (blurb :string) (minimum :float) (maximum :float) (default-value :float) (flags g-param-flags)) (defcfun g-value-set-float :void (g-value (:pointer g-value)) (new-value :float)) (defcfun g-value-get-float :float (g-value (:pointer g-value))) (defcfun g-param-spec-double (:pointer g-param-spec-double) (name :string) (nick :string) (blurb :string) (minimum :double) (maximum :double) (default-value :double) (flags g-param-flags)) (defcfun g-value-set-double :void (g-value (:pointer g-value)) (new-value :double)) (defcfun g-value-get-double :double (g-value (:pointer g-value))) (defcfun g-param-spec-enum (:pointer g-param-spec-enum) (name :string) (nick :string) (blurb :string) (enum-type g-type-designator) (default-value :int) (flags g-param-flags)) (defcfun g-value-set-enum :void (g-value (:pointer g-value)) (new-value :int)) (defcfun g-value-get-enum :int (g-value (:pointer g-value))) (defcfun g-param-spec-flags (:pointer g-param-spec-flags) (name :string) (nick :string) (blurb :string) (flags-type g-type-designator) (default-value :int) (flags g-param-flags)) (defcfun g-value-set-flags :void (g-value (:pointer g-value)) (new-value :int)) (defcfun g-value-get-flags :int (g-value (:pointer g-value))) (defcfun g-param-spec-string (:pointer g-param-spec-string) (name :string) (nick :string) (blurb :string) (default-value :string) (flags g-param-flags)) (defcfun g-value-set-string :void (g-value (:pointer g-value)) (new-value :string)) (defcfun g-value-get-string (:string :free-from-foreign nil) (g-value (:pointer g-value))) (defcfun g-param-spec-param (:pointer g-param-spec-param) (name :string) (nick :string) (blurb :string) (param-type g-type-designator) (flags g-param-flags)) (defcfun g-value-set-param :void (g-value (:pointer g-value)) (new-value (:pointer g-param-spec))) (defcfun g-value-get-param (:pointer g-param-spec) (g-value (:pointer g-value))) (defcfun g-param-spec-boxed (:pointer g-param-spec-boxed) (name :string) (nick :string) (blurb :string) (boxed-type g-type-designator) (flags g-param-flags)) (defcfun g-value-set-boxed :void (g-value (:pointer g-value)) (new-value :pointer)) (defcfun g-value-take-boxed :void (g-value (:pointer g-value)) (new-value :pointer)) (defcfun g-value-get-boxed :pointer (g-value (:pointer g-value))) (defcfun g-param-spec-pointer (:pointer g-param-spec-pointer) (name :string) (nick :string) (blurb :string) (flags g-param-flags)) (defcfun g-value-set-pointer :void (g-value (:pointer g-value)) (new-value :pointer)) (defcfun g-value-get-pointer :pointer (g-value (:pointer g-value))) (defcfun g-param-spec-object (:pointer g-param-spec-object) (name :string) (nick :string) (blurb :string) (object-type g-type-designator) (flags g-param-flags)) (defcfun g-value-set-object :void (g-value (:pointer g-value)) (new-value :pointer)) (defcfun g-value-get-object :pointer (g-value (:pointer g-value))) (defcfun g-param-spec-value-array (:pointer g-param-spec-value-array) (name :string) (nick :string) (blurb :string) (element-spec (:pointer g-param-spec)) (flags g-param-flags)) (defcfun (g-param-spec-g-type "g_param_spec_gtype") (:pointer g-param-spec-g-type) (name :string) (nick :string) (blurb :string) (types-root g-type-designator) (flags g-param-flags)) (defcfun (g-value-set-g-type "g_value_set_gtype") :void (g-value (:pointer g-value)) (new-value g-type-designator)) (defcfun (g-value-get-g-type "g_value_get_gtype") g-type-designator (g-value (:pointer g-value))) (defcfun g-param-spec-ref-sink (:pointer g-param-spec) (param-spec (:pointer g-param-spec))) (defcfun g-param-spec-unref :void (param-spec (:pointer g-param-spec))) (defcfun g-param-value-set-default :void (param-spec (:pointer g-param-spec)) (value (:pointer g-value))) (defcfun g-param-value-defaults :boolean (param-spec (:pointer g-param-spec)) (value (:pointer g-value))) (defcfun g-param-value-validate :boolean (param-spec (:pointer g-param-spec)) (value (:pointer g-value))) (defcfun g-param-spec-get-name :string (param-spec (:pointer g-param-spec))) (defcfun g-param-spec-get-nick :string (param-spec (:pointer g-param-spec))) (defcfun g-param-spec-get-blurb :string (param-spec (:pointer g-param-spec))) (defcfun g-value-init (:pointer g-value) "Initializes the GValue @code{value} with the default value of @code{type} @arg[value]{a C pointer to the GValue structure} @arg[type]{an integer specifying the GType}" (value (:pointer g-value)) (type g-type-designator)) (defcfun g-value-copy :void (src-value (:pointer g-value)) (dst-value (:pointer g-value))) (defcfun g-value-reset (:pointer g-value) (value (:pointer g-value))) (defcfun g-value-unset (:pointer g-value) "Clears the current value in @code{value} and \"unsets\" the type, releasing all resources associated with this GValue. An unset value is the same as an unitialized GValue. @arg[value]{a C pointer to the GValue structure}" (value (:pointer g-value))) (defcfun g-value-set-instance :void (value (:pointer g-value)) (instance :pointer)) (defcfun g-strdup-value-contents :string (value (:pointer g-value))) (defcfun g-object-class-install-property :void (class (:pointer g-object-class)) (property-id :uint) (param-spec (:pointer g-param-spec))) (defcfun g-object-class-find-property (:pointer g-param-spec) (class (:pointer g-object-class)) (property-name :string)) (defcfun g-object-class-list-properties (:pointer (:pointer g-param-spec)) (class (:pointer g-object-class)) (n-properties (:pointer :uint))) (defcfun g-object-class-override-property :void (class (:pointer g-object-class)) (property-id :uint) (name :string)) (defcfun g-object-interface-install-property :void (interface :pointer) (param-spec (:pointer g-param-spec))) (defcfun g-object-interface-find-property (:pointer g-param-spec) (interface :pointer) (property-name :string)) (defcfun g-object-interface-list-properties (:pointer g-param-spec) (interface :pointer) (n-properties (:pointer :uint))) (defcfun g-object-newv :pointer (object-type g-type-designator) (n-parameter :uint) (parameters (:pointer g-parameter))) (defcfun g-object-ref :pointer (object :pointer)) (defcfun g-object-unref :void (object :pointer)) (defcfun g-object-ref-sink :pointer (object :pointer)) (defcfun g-object-is-floating :boolean (object :pointer)) (defcfun g-object-force-floating :void (object :pointer)) (defcfun g-object-weak-ref :void (object :pointer) (notify :pointer) (data :pointer)) (defcfun g-object-weak-unref :void (object :pointer) (notify :pointer) (data :pointer)) (defcfun g-object-add-toggle-ref :void (object :pointer) (notifty :pointer) (data :pointer)) (defcfun g-object-remove-toggle-ref :void (object :pointer) (notifty :pointer) (data :pointer)) (defcfun g-object-notify :void (object :pointer) (property-name :string)) (defcfun g-object-freeze-notify :void (object :pointer)) (defcfun g-object-thaw-notify :void (object :pointer)) (defcfun g-object-get-data :pointer (object :pointer) (key :string)) (defcfun g-object-set-data :void (object :pointer) (key :string) (new-value :pointer)) (defcfun g-object-set-data-full :void (object :pointer) (key :string) (data :pointer) (destory :pointer)) (defcfun g-object-steal-data :pointer (object :pointer) (key :string)) (defcfun g-object-set-property :void (object :pointer) (property-name :string) (value (:pointer g-value))) (defcfun g-object-get-property :void (object :pointer) (property-name :string) (value (:pointer g-value))) (defcfun g-signal-connect-closure :ulong (instance :pointer) (detailed-signal :string) (closure (:pointer g-closure)) (after :boolean)) (defcfun g-signal-emitv :void (instance-and-params (:pointer g-value)) (signal-id :uint) (detail g-quark) (return-value (:pointer g-value))) (defcfun g-signal-lookup :uint (name :string) (type g-type-designator)) (defbitfield g-signal-flags :run-first :run-last :run-cleanup :no-recurse :detailed :action :no-hooks) (defcstruct g-signal-query (:signal-id :uint) (:signal-name :string) (:owner-type g-type-designator) (:signal-flags g-signal-flags) (:return-type (g-type-designator :mangled-p t)) (:n-params :uint) (:param-types (:pointer (g-type-designator :mangled-p t)))) (defctype g-signal-query (:struct g-signal-query)) (defcfun g-signal-query :void (signal-id :uint) (query (:pointer g-signal-query))) (defcfun g-signal-list-ids (:pointer :uint) (type g-type-designator) (n-ids (:pointer :uint))) (defcfun g-signal-parse-name :boolean (detailed-signal :string) (owner-type g-type-designator) (signal-id-ptr (:pointer :uint)) (detail-ptr (:pointer g-quark)) (force-detail-quark :boolean)) (defcstruct g-object-struct (:type-instance g-type-instance) (:ref-count :uint) (:qdata :pointer)) (defctype g-object-struct (:struct g-object-struct))