enum Gtk::FileChooserAction

Overview

Describes whether a Gtk::FileChooser is being used to open existing files or to save to a possibly new file.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

Open = 0_u32

Indicates open mode. The file chooser will only let the user pick an existing file.

Save = 1_u32

Indicates save mode. The file chooser will let the user pick an existing file, or type in a new filename.

SelectFolder = 2_u32

Indicates an Open mode for selecting folders. The file chooser will let the user pick an existing folder.

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.


Instance Method Detail

def open? #

def save? #

def select_folder? #