class GObject::FlagsClass

Overview

The class of a flags type holds information about its possible values.

Defined in:

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

Constructors

Instance Method Summary

Constructor Detail

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

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

[View source]
def self.new(g_type_class : GObject::TypeClass | Nil = nil, mask : UInt32 | Nil = nil, n_values : 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 g_type_class : GObject::TypeClass #

[View source]
def g_type_class=(value : GObject::TypeClass) #

[View source]
def mask : UInt32 #

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

[View source]
def n_values : UInt32 #

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

[View source]
def to_unsafe #

[View source]
def values : GObject::FlagsValue | Nil #

[View source]
def values! #

[View source]