Package ch.bailu.gtk.glib
Interface Error.OnErrorCopyFunc
- Enclosing class:
- Error
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onErrorCopyFunc
(CallbackHandler __self, Error src_error, Error dest_error) Specifies the type of function which is called when an extended
error instance is copied.
-
Method Details
-
onErrorCopyFunc
Specifies the type of function which is called when an extended
error instance is copied. It is passed the pointer to the
destination error and source error, and should copy only the fields
of the private data from @src_error to @dest_error.
Normally, it is better to use G_DEFINE_EXTENDED_ERROR(), as it
already takes care of getting the private data from @src_error and
@dest_error.- Parameters:
src_error
- source extended errordest_error
- destination extended error
-