Package ch.bailu.gtk.gobject
Schnittstelle Object.OnDuplicateFunc
- Umschließende Klasse:
Object
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungonDuplicateFunc
(CallbackHandler __self, Pointer data, Pointer user_data) The type of functions that are used to 'duplicate' an object.
-
Methodendetails
-
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.- Parameter:
data
- the data to duplicateuser_data
- user data that was specified in g_datalist_id_dup_data()- Gibt zurück:
- a duplicate of data
-