Describes whether a GtkFileChooser is being used to open existing files or to save to a possibly new file. See: https://developer.gnome.org/gtk3/stable/GtkFileChooser.html#GtkFileChooserAction
gtk :: GtkFileChooserAction :: create_folder
Create a new folder modegtk :: GtkFileChooserAction :: select_folder
Select folder modegtk $ GtkFileChooserAction :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
gtk :: GtkFileChooserAction :: create_folder
Create a new folder modecore :: Pointer :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).gtk :: GtkFileChooserAction :: select_folder
Select folder mode
# enum GtkFileChooserAction
#
# Describes whether a GtkFileChooser is being used to open existing files or to save to a possibly new file.
# See: https://developer.gnome.org/gtk3/stable/GtkFileChooser.html#GtkFileChooserAction
extern class GtkFileChooserAction `{GtkFileChooserAction`}
# Open file mode
#
# The file chooser will only let the user pick an existing file.
new open `{ return GTK_FILE_CHOOSER_ACTION_OPEN; `}
# Save file mode
#
# The file chooser will let the user pick an existing file, or type in a new filename.
new save `{ return GTK_FILE_CHOOSER_ACTION_SAVE; `}
# Select folder mode
#
# The file chooser will let the user pick an existing folder.
new select_folder `{ return GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER; `}
# Create a new folder mode
#
# The file chooser will let the user name an existing or new folder.
new create_folder `{ return GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER; `}
end
lib/gtk/v3_4/gtk_dialogs.nit:180,1--204,3