class GObject::FlagsClass
- GObject::FlagsClass
- Reference
- Object
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.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGObject::FlagsClass, transfer : GICrystal::Transfer)
- .new(g_type_class : GObject::TypeClass | Nil = nil, mask : UInt32 | Nil = nil, n_values : UInt32 | Nil = nil)
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #g_type_class : GObject::TypeClass
- #g_type_class=(value : GObject::TypeClass)
- #mask : UInt32
- #mask=(value : UInt32)
- #n_values : UInt32
- #n_values=(value : UInt32)
- #to_unsafe
- #values : GObject::FlagsValue | Nil
- #values!
Constructor Detail
def self.new(g_type_class : GObject::TypeClass | Nil = nil, mask : UInt32 | Nil = nil, n_values : UInt32 | Nil = nil)
#
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.