EnumClass

class EnumClass(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

The class of an enumeration type holds information about its possible values.

Skipped during bindings generation

  • field g_type_class: TypeClass

Constructors

Link copied to clipboard
constructor()

Allocate a new EnumClass.

constructor(scope: <Error class: unknown class>)

Allocate a new EnumClass using the provided AutofreeScope.

constructor(minimum: <Error class: unknown class>, maximum: <Error class: unknown class>, nValues: <Error class: unknown class>, values: EnumValue?)

Allocate a new EnumClass.

constructor(minimum: <Error class: unknown class>, maximum: <Error class: unknown class>, nValues: <Error class: unknown class>, values: EnumValue?, scope: <Error class: unknown class>)

Allocate a new EnumClass using the provided AutofreeScope.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

Properties

Link copied to clipboard
val gobjectEnumClassPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var maximum: <Error class: unknown class>

the largest possible value.

Link copied to clipboard
var minimum: <Error class: unknown class>

the smallest possible value.

Link copied to clipboard
var nValues: <Error class: unknown class>

the number of possible values.

Link copied to clipboard

an array of #GEnumValue structs describing the individual values.

Functions

Link copied to clipboard
open override fun toString(): String