ParamSpecEnum

open class ParamSpecEnum(pointer: <Error class: unknown class><<Error class: unknown class>>) : ParamSpec

A #GParamSpec derived structure that contains the meta data for enum properties.

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Properties

Link copied to clipboard
val gobjectParamSpecEnumPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun getBlurb(): String?

Get the short description of a #GParamSpec.

Link copied to clipboard

Gets the default value of @pspec as a pointer to a #GValue.

Link copied to clipboard
open fun getName(): String

Get the name of a #GParamSpec.

Link copied to clipboard
open fun getNameQuark(): <Error class: unknown class>

Gets the GQuark for the name.

Link copied to clipboard
open fun getNick(): String

Get the nickname of a #GParamSpec.

Link copied to clipboard

If the paramspec redirects operations to another paramspec, returns that paramspec. Redirect is used typically for providing a new implementation of a property in a derived type while preserving all the properties from the parent type. Redirection is established by creating a property of type #GParamSpecOverride. See g_object_class_override_property() for an example of the use of this capability.

Link copied to clipboard
open fun sink()

The initial reference count of a newly created #GParamSpec is 1, even though no one has explicitly called g_param_spec_ref() on it yet. So the initial reference count is flagged as "floating", until someone calls g_param_spec_ref (pspec); g_param_spec_sink (pspec); in sequence on it, taking over the initial reference count (thus ending up with a @pspec that has a reference count of 1 still, but is not flagged "floating" anymore).