class Gio::FileAttributeInfoList
- Gio::FileAttributeInfoList
- Reference
- Object
Overview
Acts as a lightweight registry for possible valid file attributes. The registry stores Key-Value pair formats as #GFileAttributeInfos.
Defined in:
lib/gi-crystal/src/auto/gio-2.0/file_attribute_info_list.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGio::FileAttributeInfoList, transfer : GICrystal::Transfer)
- .new(n_infos : Int32 | Nil = nil)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #add(name : String, type : Gio::FileAttributeType, flags : Gio::FileAttributeInfoFlags) : Nil
-
#dup : Gio::FileAttributeInfoList
Returns a shallow copy of this object.
- #infos : Gio::FileAttributeInfo | Nil
- #infos!
- #lookup(name : String) : Gio::FileAttributeInfo
- #n_infos : Int32
- #n_infos=(value : Int32)
- #ref : Gio::FileAttributeInfoList
- #to_unsafe
- #unref : Nil
Constructor Detail
Class Method Detail
Returns the type id (GType) registered in GLib type system.
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
def dup : Gio::FileAttributeInfoList
#
Description copied from class Reference
Returns a shallow copy of this object.
This allocates a new object and copies the contents of
self
into it.