Package ch.bailu.gtk.adw
Class PropertyAnimationTarget
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.adw.AnimationTarget
ch.bailu.gtk.adw.PropertyAnimationTarget
- All Implemented Interfaces:
PointerInterface
An [class@AnimationTarget] changing the value of a property of a
[class@GObject.Object] instance.
[class@GObject.Object] instance.
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.PropertyAnimationTarget.html
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Field Summary
Fields inherited from class ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Constructor Summary
ConstructorDescriptionPropertyAnimationTarget
(Object object, Str property_name) Creates a new `AdwPropertyAnimationTarget` for the @property_name property on
@object.PropertyAnimationTarget
(Object object, String property_name) Creates a new `AdwPropertyAnimationTarget` for the @property_name property on
@object.PropertyAnimationTarget
(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
static int
Gets the object animated by @self.static long
static TypeSystem.TypeSize
getPspec()
Gets the `GParamSpec` of the property animated by @self.static long
static TypeSystem.TypeSize
static PropertyAnimationTarget
newForPspecPropertyAnimationTarget
(Object object, ParamSpec pspec) Creates a new `AdwPropertyAnimationTarget` for the @pspec property on
@object.Methods inherited from class ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
PropertyAnimationTarget
-
PropertyAnimationTarget
Creates a new `AdwPropertyAnimationTarget` for the @property_name property on
@object.- Parameters:
object
- an object to be animatedproperty_name
- the name of the property on @object to animate
-
PropertyAnimationTarget
Creates a new `AdwPropertyAnimationTarget` for the @property_name property on
@object.- Parameters:
object
- an object to be animatedproperty_name
- the name of the property on @object to animate
-
-
Method Details
-
getClassHandler
-
newForPspecPropertyAnimationTarget
public static PropertyAnimationTarget newForPspecPropertyAnimationTarget(@Nonnull Object object, @Nonnull ParamSpec pspec) Creates a new `AdwPropertyAnimationTarget` for the @pspec property on
@object.- Parameters:
object
- an object to be animatedpspec
- the param spec of the property on @object to animate- Returns:
- new newly created `AdwPropertyAnimationTarget`
-
getObject
Gets the object animated by @self.
The `AdwPropertyAnimationTarget` instance does not hold a strong reference on
the object; make sure the object is kept alive throughout the target's
lifetime.- Returns:
- the animated object
-
getPspec
Gets the `GParamSpec` of the property animated by @self.- Returns:
- the animated property's `GParamSpec`
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-