Class ParamSpecOverride
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.TypeInstance
org.gnome.gobject.ParamSpec
org.gnome.gobject.ParamSpecOverride
- All Implemented Interfaces:
Proxy
A GParamSpec derived structure that redirects operations to
other types of GParamSpec.
All operations other than getting or setting the value are redirected, including accessing the nick and blurb, validating a value, and so forth.
See g_param_spec_get_redirect_target() for retrieving the overridden
property. GParamSpecOverride is used in implementing
g_object_class_override_property(), and will not be directly useful
unless you are implementing a new base type similar to GObject.
- Since:
- 2.4
-
Nested Class Summary
Nested classes/interfaces inherited from class ParamSpec
ParamSpec.ParamSpec$Impl, ParamSpec.ParamSpecClass -
Constructor Summary
ConstructorsConstructorDescriptionParamSpecOverride(MemorySegment address) Create a ParamSpecOverride instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionprotected ParamSpecOverrideasParent()Return this instance as if it were its parent type.static MemoryLayoutThe memory layout of the native struct.static TypegetType()Get the GType of the GParamSpecOverride class.Methods inherited from class ParamSpec
finalize_, getBlurb, getDefaultValue, getName, getNameQuark, getNick, getQdata, getRedirectTarget, internal, internal, isValidName, ref, refSink, setQdata, setQdataFull, sink, stealQdata, unref, valueIsValid, valuesCmp, valueSetDefault, valueValidateMethods inherited from class TypeInstance
callParent, callParent, cast, getPrivate, readGClass, writeGClassMethods inherited from class ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
ParamSpecOverride
Create a ParamSpecOverride instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
-
Method Details
-
getType
Get the GType of the GParamSpecOverride class.- Returns:
- always
Types.PARAM
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
asParent
Return this instance as if it were its parent type. Comparable to the Javasuperkeyword, but ensures the parent typeclass is also used in native code.
-