Class ParamSpecVariant
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.TypeInstance
org.gnome.gobject.ParamSpec
org.gnome.gobject.ParamSpecVariant
- All Implemented Interfaces:
Proxy
A GParamSpec derived structure that contains the meta data for GVariant properties.
When comparing values with g_param_values_cmp(), scalar values with the same
type will be compared with g_variant_compare(). Other non-null variants will
be checked for equality with g_variant_equal(), and their sort order is
otherwise undefined. null is ordered before non-null variants. Two null
values compare equal.
- Since:
- 2.26
-
Nested Class Summary
Nested classes/interfaces inherited from class ParamSpec
ParamSpec.ParamSpec$Impl, ParamSpec.ParamSpecClass -
Constructor Summary
ConstructorsConstructorDescriptionParamSpecVariant(MemorySegment address) Create a ParamSpecVariant instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionprotected ParamSpecVariantasParent()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 GParamSpecVariant 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
-
ParamSpecVariant
Create a ParamSpecVariant instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
-
Method Details
-
getType
Get the GType of the GParamSpecVariant 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.
-