Package ch.bailu.gtk.gobject
Interface Object.OnDuplicateFunc
- Enclosing class:
- Object
- 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 TypeMethodDescriptiononDuplicateFunc
(CallbackHandler __self, Pointer data, Pointer user_data) The type of functions that are used to 'duplicate' an object.
-
Method Details
-
onDuplicateFunc
Pointer onDuplicateFunc(CallbackHandler __self, @Nullable Pointer data, @Nullable Pointer user_data) The type of functions that are used to 'duplicate' an object.
What this means depends on the context, it could just be
incrementing the reference count, if @data is a ref-counted
object.- Parameters:
data
- the data to duplicateuser_data
- user data that was specified in g_datalist_id_dup_data()- Returns:
- a duplicate of data
-