Package: gobject
VTable gobject:object-vtable
Declaration
(gobject:define-vtable ("GObject" object)
;; Class type
(type-class (:pointer (:struct type-class)))
;; Private
(construct-properties :pointer)
;; Virtual functions
(constructor (g:object
(type g:type-t)
(n-construct-properties :uint)
(construct-properties :pointer)))
(set-property (:void
(object g:object)
(property-id :uint)
(value (:pointer (:struct g:value)))
(pspec g:param-spec)))
(get-property (:void
(object g:object)
(property-id :uint)
(value (:pointer (:struct g:value)))
(pspec g:param-spec)))
(dispose (:void (object g:object)))
(finalize (:void (object g:object)))
(dispatch-properties-changed
(:void
(object g:object)
(n-pspecs :uint)
(pspecs (:pointer g:param-spec))))
(notify (:void (object g:object) (pspec g:param-spec)))
(constructed (:void (object g:object)))) Details
This is a prototype of a virtual function table for an object that is subclassed from the g:object class. Examples(gobject:define-gobject-subclass "MyObject" my-object (:superclass g:object :export nil :interfaces ()) nil) | See also |
2025-12-21