class GObject::EnumClass

Overview

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

Defined in:

lib/gi-crystal/src/auto/g_object-2.0/enum_class.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

def self.new(data : LibGObject::EnumClass, transfer : GICrystal::Transfer) #

def self.new(g_type_class : GObject::TypeClass? = nil, minimum : Int32? = nil, maximum : Int32? = nil, n_values : UInt32? = nil) #

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def g_type_class : GObject::TypeClass #

def g_type_class=(value : GObject::TypeClass) #

def maximum : Int32 #

def maximum=(value : Int32) #

def minimum : Int32 #

def minimum=(value : Int32) #

def n_values : UInt32 #

def n_values=(value : UInt32) #

def to_unsafe #

def values : GObject::EnumValue? #

def values! #