class GObject::EnumValue
- GObject::EnumValue
- Reference
- Object
Overview
A structure which contains a single enum value, its name, and its nickname.
Defined in:
lib/gi-crystal/src/auto/g_object-2.0/enum_value.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGObject::EnumValue, transfer : GICrystal::Transfer)
- .new(value : Int32 | Nil = nil)
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #to_unsafe
- #value : Int32
- #value=(value : Int32)
- #value_name : String | Nil
- #value_name!
- #value_nick : String | Nil
- #value_nick!
Constructor Detail
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.