class GObject::FlagsValue

Overview

A structure which contains a single flags value, its name, and its nickname.

Defined in:

lib/gi-crystal/src/auto/g_object-2.0/flags_value.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

[View source]
def self.new(value : UInt32 | 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 : UInt32 #

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

[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]