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