class GObject::EnumClass
- GObject::EnumClass
- Reference
- Object
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.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(g_type_class : GObject::TypeClass? = nil, minimum : Int32? = nil, maximum : Int32? = nil, n_values : UInt32? = nil, values : GObject::EnumValue? = nil)
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #g_type_class : GObject::TypeClass
- #g_type_class=(value : GObject::TypeClass)
- #maximum : Int32
- #maximum=(value : Int32)
- #minimum : Int32
- #minimum=(value : Int32)
- #n_values : UInt32
- #n_values=(value : UInt32)
- #to_unsafe
- #values : GObject::EnumValue?
- #values!
- #values=(value : GObject::EnumValue?)
Constructor Detail
def self.new(g_type_class : GObject::TypeClass? = nil, minimum : Int32? = nil, maximum : Int32? = nil, n_values : UInt32? = nil, values : GObject::EnumValue? = nil)
#
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.