class Gio::FileAttributeInfoList


Acts as a lightweight registry for possible valid file attributes. The registry stores Key-Value pair formats as #GFileAttributeInfos.

Defined in:



Class Method Summary

Instance Method Summary

Constructor Detail

def : Pointer(Void), transfer : GICrystal::Transfer) #

def : Gio::FileAttributeInfo? = nil, n_infos : Int32? = nil) #

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.

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 add(name : String, type : Gio::FileAttributeType, flags : Gio::FileAttributeInfoFlags) : Nil #

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.

def infos : Gio::FileAttributeInfo? #

def infos! #

def infos=(value : Gio::FileAttributeInfo?) #

def lookup(name : String) : Gio::FileAttributeInfo #

def n_infos : Int32 #

def n_infos=(value : Int32) #

def to_unsafe #

def unref : Nil #