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

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

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

def g_type_class=(value : GObject::TypeClass) #

def mask : UInt32 #

def mask=(value : UInt32) #

def n_values : UInt32 #

def n_values=(value : UInt32) #

def to_unsafe #

def values : GObject::FlagsValue? #

def values! #