enum Gio::FilesystemPreviewType

Overview

Indicates a hint from the file system whether files should be previewed in a file manager. Returned as the value of the key %G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/gio.cr

Enum Members

IfAlways = 0_u32

Only preview files if user has explicitly requested it.

IfLocal = 1_u32

Preview files if user has requested preview of "local" files.

Never = 2_u32

Never preview files.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

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


[View source]

Instance Method Detail

def if_always? #

[View source]
def if_local? #

[View source]
def never? #

[View source]