package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/ocgtk.gio/Ocgtk_gio/Gio/File/class-file/index.html

Class File.file

method append_to : Ocgtk_gio__.Gio_enums.filecreateflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GFile_output_stream.file_output_stream_t, GError.t) result
method append_to_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GFile_output_stream.file_output_stream_t, GError.t) result
method build_attribute_list_for_copy : Ocgtk_gio__.Gio_enums.filecopyflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (string, GError.t) result
method copy_attributes : Ocgtk_gio__.GApp_info_cycle_64c425a0.file_t -> Ocgtk_gio__.Gio_enums.filecopyflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method copy_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method create : Ocgtk_gio__.Gio_enums.filecreateflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GFile_output_stream.file_output_stream_t, GError.t) result
method create_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GFile_output_stream.file_output_stream_t, GError.t) result
method create_readwrite : Ocgtk_gio__.Gio_enums.filecreateflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GFile_io_stream.file_io_stream_t, GError.t) result
method create_readwrite_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GFile_io_stream.file_io_stream_t, GError.t) result
method delete : Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method delete_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method dup : unit -> Ocgtk_gio__.GApp_info_cycle_64c425a0.file_t
method eject_mountable_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method eject_mountable_with_operation_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method enumerate_children : string -> Ocgtk_gio__.Gio_enums.filequeryinfoflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GApp_info_cycle_64c425a0.file_enumerator_t, GError.t) result
method enumerate_children_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GApp_info_cycle_64c425a0.file_enumerator_t, GError.t) result
method equal : Ocgtk_gio__.GApp_info_cycle_64c425a0.file_t -> bool
method find_enclosing_mount : Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GApp_info_cycle_64c425a0.mount_t, GError.t) result
method find_enclosing_mount_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GApp_info_cycle_64c425a0.mount_t, GError.t) result
method get_basename : unit -> string option
method get_child : string -> Ocgtk_gio__.GApp_info_cycle_64c425a0.file_t
method get_child_for_display_name : string -> (Ocgtk_gio__.GApp_info_cycle_64c425a0.file_t, GError.t) result
method get_parent : unit -> Ocgtk_gio__.GApp_info_cycle_64c425a0.file_t option
method get_parse_name : unit -> string
method get_path : unit -> string option
method get_relative_path : Ocgtk_gio__.GApp_info_cycle_64c425a0.file_t -> string option
method get_uri : unit -> string
method get_uri_scheme : unit -> string option
method has_parent : Ocgtk_gio__.GApp_info_cycle_64c425a0.file_t option -> bool
method has_prefix : Ocgtk_gio__.GApp_info_cycle_64c425a0.file_t -> bool
method has_uri_scheme : string -> bool
method hash : unit -> int
method is_native : unit -> bool
method make_directory : Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method make_directory_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method make_directory_with_parents : Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method monitor : Ocgtk_gio__.Gio_enums.filemonitorflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GApp_info_cycle_64c425a0.file_monitor_t, GError.t) result
method monitor_directory : Ocgtk_gio__.Gio_enums.filemonitorflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GApp_info_cycle_64c425a0.file_monitor_t, GError.t) result
method monitor_file : Ocgtk_gio__.Gio_enums.filemonitorflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GApp_info_cycle_64c425a0.file_monitor_t, GError.t) result
method mount_enclosing_volume_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method mount_mountable_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GApp_info_cycle_64c425a0.file_t, GError.t) result
method move_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method open_readwrite : Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GFile_io_stream.file_io_stream_t, GError.t) result
method open_readwrite_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GFile_io_stream.file_io_stream_t, GError.t) result
method peek_path : unit -> string option
method poll_mountable_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method query_default_handler : Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GApp_info_cycle_64c425a0.app_info_t, GError.t) result
method query_default_handler_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GApp_info_cycle_64c425a0.app_info_t, GError.t) result
method query_exists : Ocgtk_gio__.GCancellable.cancellable_t option -> bool
method query_file_type : Ocgtk_gio__.Gio_enums.filequeryinfoflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> Ocgtk_gio__.Gio_enums.filetype
method query_filesystem_info : string -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GFile_info.file_info_t, GError.t) result
method query_filesystem_info_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GFile_info.file_info_t, GError.t) result
method query_info : string -> Ocgtk_gio__.Gio_enums.filequeryinfoflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GFile_info.file_info_t, GError.t) result
method query_info_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GFile_info.file_info_t, GError.t) result
method query_settable_attributes : Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.File_attribute_info_list.t, GError.t) result
method query_writable_namespaces : Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.File_attribute_info_list.t, GError.t) result
method read : Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GFile_input_stream.file_input_stream_t, GError.t) result
method read_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GFile_input_stream.file_input_stream_t, GError.t) result
method replace : string option -> bool -> Ocgtk_gio__.Gio_enums.filecreateflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GFile_output_stream.file_output_stream_t, GError.t) result
method replace_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GFile_output_stream.file_output_stream_t, GError.t) result
method replace_readwrite : string option -> bool -> Ocgtk_gio__.Gio_enums.filecreateflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GFile_io_stream.file_io_stream_t, GError.t) result
method replace_readwrite_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GFile_io_stream.file_io_stream_t, GError.t) result
method resolve_relative_path : string -> Ocgtk_gio__.GApp_info_cycle_64c425a0.file_t
method set_attribute_byte_string : string -> string -> Ocgtk_gio__.Gio_enums.filequeryinfoflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method set_attribute_int32 : string -> Int32.t -> Ocgtk_gio__.Gio_enums.filequeryinfoflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method set_attribute_int64 : string -> int64 -> Ocgtk_gio__.Gio_enums.filequeryinfoflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method set_attribute_string : string -> string -> Ocgtk_gio__.Gio_enums.filequeryinfoflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method set_attribute_uint32 : string -> UInt32.t -> Ocgtk_gio__.Gio_enums.filequeryinfoflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method set_attribute_uint64 : string -> UInt64.t -> Ocgtk_gio__.Gio_enums.filequeryinfoflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method set_attributes_from_info : Ocgtk_gio__.GFile_info.file_info_t -> Ocgtk_gio__.Gio_enums.filequeryinfoflags -> Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method set_display_name : string -> Ocgtk_gio__.GCancellable.cancellable_t option -> (Ocgtk_gio__.GApp_info_cycle_64c425a0.file_t, GError.t) result
method set_display_name_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (Ocgtk_gio__.GApp_info_cycle_64c425a0.file_t, GError.t) result
method start_mountable_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method stop_mountable_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method supports_thread_contexts : unit -> bool
method trash : Ocgtk_gio__.GCancellable.cancellable_t option -> (bool, GError.t) result
method trash_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method unmount_mountable_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method unmount_mountable_with_operation_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method as_file : Ocgtk_gio__.App_info_cycle_64c425a0.File.t