- public delegate void AsyncReadyCallback (Object? source_object, AsyncResult res)
- public delegate void BusAcquiredCallback (DBusConnection connection, string name)
Invoked when a connection to a message bus has been obtained.
- public delegate void BusNameAcquiredCallback (DBusConnection connection, string name)
Invoked when the name is acquired.
- public delegate void BusNameAppearedCallback (DBusConnection connection, string name, string name_owner)
Invoked when the name being watched is known to have to have an owner.
- public delegate void BusNameLostCallback (DBusConnection connection, string name)
Invoked when the name is lost or connection has been
closed.
- public delegate void BusNameVanishedCallback (DBusConnection connection, string name)
Invoked when the name being watched is known not to have to have an
owner.
- public delegate bool CancellableSourceFunc (Cancellable? cancellable = null)
- public delegate Variant DBusInterfaceGetPropertyFunc (DBusConnection connection, string? sender, string object_path, string interface_name, string property_name) throws Error
- public delegate void DBusInterfaceMethodCallFunc (DBusConnection connection, string? sender, string object_path, string? interface_name, string method_name, Variant parameters, owned DBusMethodInvocation invocation)
- public delegate bool DBusInterfaceSetPropertyFunc (DBusConnection connection, string? sender, string object_path, string interface_name, string property_name, Variant value) throws Error
- public delegate DBusMessage? DBusMessageFilterFunction (DBusConnection connection, owned DBusMessage message, bool incoming)
- public delegate Type DBusProxyTypeFunc (DBusObjectManagerClient manager, string object_path, string? interface_name)
Function signature for a function used to determine the
Type to use for an interface proxy (if interface_name is not null
) or object proxy (if interface_name is null).
- public delegate void DBusSignalCallback (DBusConnection connection, string? sender_name, string object_path, string interface_name, string signal_name, Variant parameters)
- public delegate unowned DBusInterfaceVTable? DBusSubtreeDispatchFunc (DBusConnection connection, string sender, string object_path, string interface_name, string node, void* out_user_data)
- public delegate string[] DBusSubtreeEnumerateFunc (DBusConnection connection, string sender, string object_path)
- public delegate DBusInterfaceInfo[]? DBusSubtreeIntrospectFunc (DBusConnection connection, string sender, string object_path, string node)
- public delegate bool DatagramBasedSourceFunc (DatagramBased datagram_based, IOCondition condition)
- public delegate void FileMeasureProgressCallback (bool reporting, uint64 current_size, uint64 num_dirs, uint64 num_files)
This callback type is used by
measure_disk_usage to make periodic progress reports when
measuring the amount of disk spaced used by a directory.
- public delegate void FileProgressCallback (int64 current_num_bytes, int64 total_num_bytes)
When doing file operations that may take a while, such as moving a
file or copying a file, a progress callback is used to pass how far along that operation is to the application.
- public delegate bool FileReadMoreCallback (string file_contents, int64 file_size)
When loading the partial contents of a file with
load_partial_contents_async, it may become necessary to
determine if any more data from the file should be loaded.
- public delegate bool IOSchedulerJobFunc (IOSchedulerJob job, Cancellable? cancellable = null)
I/O Job function.
- public delegate bool PollableSourceFunc (Object pollable_stream)
- public delegate void* ReallocFunc (void* data, size_t size)
Changes the size of the memory block pointed to by data
to size bytes.
- public delegate bool SettingsBindGetMapping (Value value, Variant variant)
- public delegate bool SettingsBindGetMappingShared (Value value, Variant variant, void* user_data)
The type for the function that is used to convert from [class@Gio.
- public delegate Variant? SettingsBindSetMapping (Value value, VariantType expected_type)
- public delegate Variant SettingsBindSetMappingShared (Value value, VariantType expected_type, void* user_data)
The type for the function that is used to convert an object property
value to a [struct@GLib.
- public delegate bool SettingsGetMapping (Variant? value, out void* result)
The type of the function that is used to convert from a value stored
in a [class@Gio.
- public delegate void SimpleActionActivateCallback (SimpleAction action, Variant? parameter)
- public delegate void SimpleActionChangeStateCallback (SimpleAction action, Variant value)
- public delegate void SimpleAsyncThreadFunc (SimpleAsyncResult res, Object object, Cancellable? cancellable = null)
Simple thread function that runs an asynchronous operation and checks
for cancellation.
- public delegate bool SocketSourceFunc (Socket socket, IOCondition condition)
- public delegate void TaskReadyCallback (Object? source_object, Task task)
Type definition for a function that will be called back when an
asynchronous operation within GIO has been completed.
- public delegate bool TaskSourceFunc (Task task)
- public delegate void TaskThreadFunc (Task task, Object source_object, void* task_data, Cancellable? cancellable = null)
- public delegate File? VfsFileLookupFunc (Vfs vfs, string identifier)
This function type is used by
register_uri_scheme to make it possible for a client to associate a URI
scheme to a different File implementation.
- public bool action_name_is_valid (string action_name)
- public bool action_parse_detailed_name (string detailed_name, out string action_name, out Variant? target_value) throws Error
- public string action_print_detailed_name (string action_name, Variant? target_value)
- public DtlsClientConnection dtls_client_connection_new (DatagramBased base_socket, SocketConnectable? server_identity) throws Error
- public DtlsServerConnection dtls_server_connection_new (DatagramBased base_socket, TlsCertificate? certificate) throws Error
- public unowned IOExtension io_extension_point_implement (string extension_point_name, Type type, string extension_name, int priority)
Registers type as extension for the extension point with
name extension_point_name.
- public unowned IOExtensionPoint io_extension_point_lookup (string name)
Looks up an existing extension point.
- public unowned IOExtensionPoint io_extension_point_register (string name)
Registers an extension point.
- public MemoryMonitor memory_monitor_dup_default ()
- public void networking_init ()
Initializes the platform networking libraries (eg, on Windows, this
calls WSAStartup).
- public ssize_t pollable_stream_read (InputStream stream, uint8[] buffer, bool blocking, Cancellable? cancellable = null) throws Error
Tries to read from stream, as with
read (if blocking is true
) or read_nonblocking (if blocking is
false).
- public ssize_t pollable_stream_write (OutputStream stream, uint8[] buffer, bool blocking, Cancellable? cancellable = null) throws Error
- public bool pollable_stream_write_all (OutputStream stream, uint8[] buffer, bool blocking, out size_t bytes_written, Cancellable? cancellable = null) throws Error
- public PowerProfileMonitor power_profile_monitor_dup_default ()
- public Quark resolver_error_quark ()
- public Quark resource_error_quark ()
- public Resource resource_load (string filename) throws Error
Loads a binary resource bundle and creates a [struct@Gio.
- public string[] resources_enumerate_children (string path, ResourceLookupFlags lookup_flags) throws Error
Returns all the names of children at the specified path
in the set of globally registered resources.
- public bool resources_get_info (string path, ResourceLookupFlags lookup_flags, out size_t size, out uint32 flags) throws Error
Looks for a file at the specified path in the set of
globally registered resources and if found returns information about it.
- public bool resources_has_children (string path)
Returns whether the specified path in the set of globally
registered resources has children.
- public Bytes resources_lookup_data (string path, ResourceLookupFlags lookup_flags) throws Error
Looks for a file at the specified path in the set of
globally registered resources and returns a [struct@GLib.
- public InputStream resources_open_stream (string path, ResourceLookupFlags lookup_flags) throws Error
Looks for a file at the specified path in the set of
globally registered resources and returns a [class@Gio.
- public void resources_register (Resource resource)
Registers the resource with the process-global set of resources.
- public void resources_unregister (Resource resource)
Unregisters the resource from the process-global set of resources.
- public unowned SettingsSchemaSource? settings_schema_source_get_default ()
Gets the default system schema source.