Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GFile |
Interface : | File |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
|
Gio.File | |
append_to_async
(FileCreateFlags flags, Number io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
append_to_finish
(AsyncResult res)
:
Gio.FileOutputStream
|
Gio.File | |
copy
(File destination, FileCopyFlags flags, Cancellable cancellable, Function progress_callback, void* progress_callback_data)
:
Boolean
|
Gio.File | |
copy_async
(File destination, FileCopyFlags flags, Number io_priority, Cancellable cancellable, Function progress_callback, void* progress_callback_data, Function callback, void* user_data)
:
none
|
Gio.File | |
|
Gio.File | |
copy_finish
(AsyncResult res)
:
Boolean
|
Gio.File | |
|
Gio.File | |
create_async
(FileCreateFlags flags, Number io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
create_finish
(AsyncResult res)
:
Gio.FileOutputStream
|
Gio.File | |
|
Gio.File | |
create_readwrite_async
(FileCreateFlags flags, Number io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
create_readwrite_finish
(AsyncResult res)
:
Gio.FileIOStream
|
Gio.File | |
delete
(Cancellable cancellable)
:
Boolean
|
Gio.File | |
dup
()
:
Gio.File
|
Gio.File | |
eject_mountable
(MountUnmountFlags flags, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
eject_mountable_finish
(AsyncResult result)
:
Boolean
|
Gio.File | |
eject_mountable_with_operation
(MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
eject_mountable_with_operation_finish
(AsyncResult result)
:
Boolean
|
Gio.File | |
enumerate_children
(String attributes, FileQueryInfoFlags flags, Cancellable cancellable)
:
Gio.FileEnumerator
|
Gio.File | |
enumerate_children_async
(String attributes, FileQueryInfoFlags flags, Number io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
enumerate_children_finish
(AsyncResult res)
:
Gio.FileEnumerator
|
Gio.File | |
Gio.File | ||
find_enclosing_mount
(Cancellable cancellable)
:
Gio.Mount
|
Gio.File | |
find_enclosing_mount_async
(Number io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
find_enclosing_mount_finish
(AsyncResult res)
:
Gio.Mount
|
Gio.File | |
get_basename
()
:
String
|
Gio.File | |
Gio.File | ||
Gio.File | ||
get_parent
()
:
Gio.File
|
Gio.File | |
get_parse_name
()
:
String
|
Gio.File | |
get_path
()
:
String
|
Gio.File | |
Gio.File | ||
get_uri
()
:
String
|
Gio.File | |
get_uri_scheme
()
:
String
|
Gio.File | |
Gio.File | ||
Gio.File | ||
Gio.File | ||
is_native
()
:
Boolean
|
Gio.File | |
Gio.File | ||
|
Gio.File | |
Gio.File | ||
load_partial_contents_async
(Cancellable cancellable, Function read_more_callback, Function callback, void* user_data)
:
none
|
Gio.File | |
Gio.File | ||
make_directory
(Cancellable cancellable)
:
Boolean
|
Gio.File | |
make_directory_with_parents
(Cancellable cancellable)
:
Boolean
|
Gio.File | |
|
Gio.File | |
|
Gio.File | |
|
Gio.File | |
|
Gio.File | |
mount_enclosing_volume
(MountMountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
mount_enclosing_volume_finish
(AsyncResult result)
:
Boolean
|
Gio.File | |
mount_mountable
(MountMountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
mount_mountable_finish
(AsyncResult result)
:
Gio.File
|
Gio.File | |
move
(File destination, FileCopyFlags flags, Cancellable cancellable, Function progress_callback, void* progress_callback_data)
:
Boolean
|
Gio.File | |
open_readwrite
(Cancellable cancellable)
:
Gio.FileIOStream
|
Gio.File | |
open_readwrite_async
(Number io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
open_readwrite_finish
(AsyncResult res)
:
Gio.FileIOStream
|
Gio.File | |
|
Gio.File | |
poll_mountable_finish
(AsyncResult result)
:
Boolean
|
Gio.File | |
query_default_handler
(Cancellable cancellable)
:
Gio.AppInfo
|
Gio.File | |
query_exists
(Cancellable cancellable)
:
Boolean
|
Gio.File | |
|
Gio.File | |
|
Gio.File | |
query_filesystem_info_async
(String attributes, Number io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
query_filesystem_info_finish
(AsyncResult res)
:
Gio.FileInfo
|
Gio.File | |
|
Gio.File | |
query_info_async
(String attributes, FileQueryInfoFlags flags, Number io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
query_info_finish
(AsyncResult res)
:
Gio.FileInfo
|
Gio.File | |
query_settable_attributes
(Cancellable cancellable)
:
Gio.FileAttributeInfoList
|
Gio.File | |
query_writable_namespaces
(Cancellable cancellable)
:
Gio.FileAttributeInfoList
|
Gio.File | |
read
(Cancellable cancellable)
:
Gio.FileInputStream
|
Gio.File | |
|
Gio.File | |
read_finish
(AsyncResult res)
:
Gio.FileInputStream
|
Gio.File | |
replace
(String etag, Boolean make_backup, FileCreateFlags flags, Cancellable cancellable)
:
Gio.FileOutputStream
|
Gio.File | |
replace_async
(String etag, Boolean make_backup, FileCreateFlags flags, Number io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
replace_contents
(String contents, Number length, String etag, Boolean make_backup, FileCreateFlags flags, Object out_values, Cancellable cancellable)
:
Boolean
|
Gio.File | |
replace_contents_async
(String contents, Number length, String etag, Boolean make_backup, FileCreateFlags flags, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
|
Gio.File | |
replace_finish
(AsyncResult res)
:
Gio.FileOutputStream
|
Gio.File | |
replace_readwrite
(String etag, Boolean make_backup, FileCreateFlags flags, Cancellable cancellable)
:
Gio.FileIOStream
|
Gio.File | |
replace_readwrite_async
(String etag, Boolean make_backup, FileCreateFlags flags, Number io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
replace_readwrite_finish
(AsyncResult res)
:
Gio.FileIOStream
|
Gio.File | |
Gio.File | ||
set_attribute
(String attribute, FileAttributeType type, void* value_p, FileQueryInfoFlags flags, Cancellable cancellable)
:
Boolean
|
Gio.File | |
set_attribute_byte_string
(String attribute, String value, FileQueryInfoFlags flags, Cancellable cancellable)
:
Boolean
|
Gio.File | |
set_attribute_int32
(String attribute, Number value, FileQueryInfoFlags flags, Cancellable cancellable)
:
Boolean
|
Gio.File | |
set_attribute_int64
(String attribute, Number value, FileQueryInfoFlags flags, Cancellable cancellable)
:
Boolean
|
Gio.File | |
set_attribute_string
(String attribute, String value, FileQueryInfoFlags flags, Cancellable cancellable)
:
Boolean
|
Gio.File | |
set_attribute_uint32
(String attribute, Number value, FileQueryInfoFlags flags, Cancellable cancellable)
:
Boolean
|
Gio.File | |
set_attribute_uint64
(String attribute, Number value, FileQueryInfoFlags flags, Cancellable cancellable)
:
Boolean
|
Gio.File | |
set_attributes_async
(FileInfo info, FileQueryInfoFlags flags, Number io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
|
Gio.File | |
set_attributes_from_info
(FileInfo info, FileQueryInfoFlags flags, Cancellable cancellable)
:
Boolean
|
Gio.File | |
|
Gio.File | |
set_display_name_async
(String display_name, Number io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
set_display_name_finish
(AsyncResult res)
:
Gio.File
|
Gio.File | |
start_mountable
(DriveStartFlags flags, MountOperation start_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
start_mountable_finish
(AsyncResult result)
:
Boolean
|
Gio.File | |
stop_mountable
(MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
stop_mountable_finish
(AsyncResult result)
:
Boolean
|
Gio.File | |
supports_thread_contexts
()
:
Boolean
|
Gio.File | |
trash
(Cancellable cancellable)
:
Boolean
|
Gio.File | |
unmount_mountable
(MountUnmountFlags flags, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
unmount_mountable_finish
(AsyncResult result)
:
Boolean
|
Gio.File | |
unmount_mountable_with_operation
(MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data)
:
none
|
Gio.File | |
unmount_mountable_with_operation_finish
(AsyncResult result)
:
Boolean
|
Gio.File |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio
Method |
|
Gio
Method |
|
Gio
Method |
|
Gio
Method |
|
Gio
Method |
|
Gio.FileEnumerator
Property |
container : Gio.File
|
Gio.FileEnumerator
Method |
get_container
()
:
Gio.File
|
Gio.FileIcon
Property |
file : Gio.File
|
Gio.FileIcon
Method |
Create a new Gio.FileIcon
|
Gio.FileIcon
Method |
get_file
()
:
Gio.File
|
Gio.FileMonitor
Signal |
|
Gio.FileMonitor
Method |
|
Gio.Mount
Method |
get_root
()
:
Gio.File
|
Gio.Mount
Method |
get_default_location
()
:
Gio.File
|
Gio.Vfs
Method |
|
Gio.Vfs
Method |
|
Gio.Vfs
Method |
|
Gio.Volume
Method |
get_activation_root
()
:
Gio.File
|
Gsf.InputGio
Method |
Create a new Gsf.InputGio
|
Gsf.OutputGio
Method |
Create a new Gsf.OutputGio
|
Gtk.FileChooser
Method |
get_file
()
:
Gio.File
Gets the GFile for the currently selected file in the file selector.
|
Gtk.FileChooser
Method |
Sets file as the current filename for the file chooser, by changing to the file's parent folder and actually selecting the file in list.
|
Gtk.FileChooser
Method |
Selects the file referred to by file.
|
Gtk.FileChooser
Method |
unselect_file
(File file)
:
none
Unselects the file referred to by file.
|
Gtk.FileChooser
Method |
Sets the current folder for chooser from a GFile.
|
Gtk.FileChooser
Method |
get_current_folder_file
()
:
Gio.File
Gets the current folder of chooser as GFile.
|
Gtk.FileChooser
Method |
get_preview_file
()
:
Gio.File
Gets the GFile that should be previewed in a custom preview Internal function, see gtk_file_chooser_get_preview_uri().
|