class Gio::FileAttributeInfoList

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.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

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

[View source]
def self.new(n_infos : Int32 | Nil = nil) #

[View source]

Class Method Detail

def self.g_type : UInt64 #

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


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

[View source]
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.


[View source]
def infos : Gio::FileAttributeInfo | Nil #

[View source]
def infos! #

[View source]
def lookup(name : String) : Gio::FileAttributeInfo #

[View source]
def n_infos : Int32 #

[View source]
def n_infos=(value : Int32) #

[View source]

[View source]
def to_unsafe #

[View source]
def unref : Nil #

[View source]