class GObject::EnumValue

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.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(data : LibGObject::EnumValue, transfer : GICrystal::Transfer) #

[View source]
def self.new(value : Int32 | Nil = nil) #

[View source]

Instance Method Detail

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

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


[View source]
def to_unsafe #

[View source]
def value : Int32 #

[View source]
def value=(value : Int32) #

[View source]
def value_name : String | Nil #

[View source]
def value_name! #

[View source]
def value_nick : String | Nil #

[View source]
def value_nick! #

[View source]