Package: gobject
Function g-object-set-data-full
Lambda Listg-object-set-data-full (object key data destroy) ArgumentsDetails Like the g-object-data function except it adds notification for
when the association is destroyed, either by setting it to a different
value or when the object is destroyed. Note that the destroy callback function is not called if the data argument is nil. NoteExamples;; Callback function for the destroy notify handler (defcallback pulse-remove :void ((data :pointer)) (g-source-remove (pointer-address data))) | See also |
2021-9-11