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) #

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

def self.new(value : Int32? = 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 to_unsafe #

def value : Int32 #

def value=(value : Int32) #

def value_name : String? #

def value_name! #

def value_nick : String? #

def value_nick! #