Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | Gio |
Namespace : | Gio |
Properties | |
---|---|
String Gio.DESKTOP_APP_INFO_LAUNCH_HANDLER_EXTENSION_POINT_NAME : null
|
|
String Gio.DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME : null
|
|
String Gio.FILE_ATTRIBUTE_ACCESS_CAN_DELETE : null
|
|
String Gio.FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE : null
|
|
String Gio.FILE_ATTRIBUTE_ACCESS_CAN_READ : null
|
|
String Gio.FILE_ATTRIBUTE_ACCESS_CAN_RENAME : null
|
|
String Gio.FILE_ATTRIBUTE_ACCESS_CAN_TRASH : null
|
|
String Gio.FILE_ATTRIBUTE_ACCESS_CAN_WRITE : null
|
|
String Gio.FILE_ATTRIBUTE_DOS_IS_ARCHIVE : null
|
|
String Gio.FILE_ATTRIBUTE_DOS_IS_SYSTEM : null
|
|
String Gio.FILE_ATTRIBUTE_ETAG_VALUE : null
|
|
String Gio.FILE_ATTRIBUTE_FILESYSTEM_FREE : null
|
|
String Gio.FILE_ATTRIBUTE_FILESYSTEM_READONLY : null
|
|
String Gio.FILE_ATTRIBUTE_FILESYSTEM_SIZE : null
|
|
String Gio.FILE_ATTRIBUTE_FILESYSTEM_TYPE : null
|
|
String Gio.FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW : null
|
|
String Gio.FILE_ATTRIBUTE_GVFS_BACKEND : null
|
|
String Gio.FILE_ATTRIBUTE_ID_FILE : null
|
|
String Gio.FILE_ATTRIBUTE_ID_FILESYSTEM : null
|
|
String Gio.FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT : null
|
|
String Gio.FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT : null
|
|
String Gio.FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL : null
|
|
String Gio.FILE_ATTRIBUTE_MOUNTABLE_CAN_START : null
|
|
String Gio.FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED : null
|
|
String Gio.FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP : null
|
|
String Gio.FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT : null
|
|
String Gio.FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI : null
|
|
String Gio.FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC : null
|
|
String Gio.FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE : null
|
|
String Gio.FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE : null
|
|
String Gio.FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE : null
|
|
String Gio.FILE_ATTRIBUTE_OWNER_GROUP : null
|
|
String Gio.FILE_ATTRIBUTE_OWNER_USER : null
|
|
String Gio.FILE_ATTRIBUTE_OWNER_USER_REAL : null
|
|
String Gio.FILE_ATTRIBUTE_PREVIEW_ICON : null
|
|
String Gio.FILE_ATTRIBUTE_SELINUX_CONTEXT : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_COPY_NAME : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_DESCRIPTION : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_EDIT_NAME : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_ICON : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_IS_BACKUP : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_IS_HIDDEN : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_IS_SYMLINK : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_NAME : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_SIZE : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_SORT_ORDER : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_TARGET_URI : null
|
|
String Gio.FILE_ATTRIBUTE_STANDARD_TYPE : null
|
|
String Gio.FILE_ATTRIBUTE_THUMBNAILING_FAILED : null
|
|
String Gio.FILE_ATTRIBUTE_THUMBNAIL_PATH : null
|
|
String Gio.FILE_ATTRIBUTE_TIME_ACCESS : null
|
|
String Gio.FILE_ATTRIBUTE_TIME_ACCESS_USEC : null
|
|
String Gio.FILE_ATTRIBUTE_TIME_CHANGED : null
|
|
String Gio.FILE_ATTRIBUTE_TIME_CHANGED_USEC : null
|
|
String Gio.FILE_ATTRIBUTE_TIME_CREATED : null
|
|
String Gio.FILE_ATTRIBUTE_TIME_CREATED_USEC : null
|
|
String Gio.FILE_ATTRIBUTE_TIME_MODIFIED : null
|
|
String Gio.FILE_ATTRIBUTE_TIME_MODIFIED_USEC : null
|
|
String Gio.FILE_ATTRIBUTE_TRASH_DELETION_DATE : null
|
|
String Gio.FILE_ATTRIBUTE_TRASH_ITEM_COUNT : null
|
|
String Gio.FILE_ATTRIBUTE_TRASH_ORIG_PATH : null
|
|
String Gio.FILE_ATTRIBUTE_UNIX_BLOCKS : null
|
|
String Gio.FILE_ATTRIBUTE_UNIX_BLOCK_SIZE : null
|
|
String Gio.FILE_ATTRIBUTE_UNIX_DEVICE : null
|
|
String Gio.FILE_ATTRIBUTE_UNIX_GID : null
|
|
String Gio.FILE_ATTRIBUTE_UNIX_INODE : null
|
|
String Gio.FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT : null
|
|
String Gio.FILE_ATTRIBUTE_UNIX_MODE : null
|
|
String Gio.FILE_ATTRIBUTE_UNIX_NLINK : null
|
|
String Gio.FILE_ATTRIBUTE_UNIX_RDEV : null
|
|
String Gio.FILE_ATTRIBUTE_UNIX_UID : null
|
|
String Gio.NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME : null
|
|
String Gio.PROXY_EXTENSION_POINT_NAME : null
|
|
String Gio.PROXY_RESOLVER_EXTENSION_POINT_NAME : null
|
|
String Gio.TLS_BACKEND_EXTENSION_POINT_NAME : null
|
|
String Gio.VFS_EXTENSION_POINT_NAME : null
|
|
String Gio.VOLUME_IDENTIFIER_KIND_HAL_UDI : null
|
|
String Gio.VOLUME_IDENTIFIER_KIND_LABEL : null
|
|
String Gio.VOLUME_IDENTIFIER_KIND_NFS_MOUNT : null
|
|
String Gio.VOLUME_IDENTIFIER_KIND_UNIX_DEVICE : null
|
|
String Gio.VOLUME_IDENTIFIER_KIND_UUID : null
|
|
String Gio.VOLUME_MONITOR_EXTENSION_POINT_NAME : null
|
None |
Method / Constructor | Defined By | |
---|---|---|
Gio.app_info_create_from_commandline
(String commandline, String application_name, AppInfoCreateFlags flags)
:
Gio.AppInfo
Creates a new GAppInfo from the given information.
Creates a new GAppInfo from the given information.
|
Gio | |
Gio.app_info_get_all
()
:
Array
Gets a list of all of the applications currently registered
on this system.
Gets a list of all of the applications currently registered
on this system. For desktop files, this includes applications that have display by means of The returned list does not include applications which have the
|
Gio | |
Gio | ||
Gets the GAppInfo that corresponds to a given content type.
Gets the GAppInfo that corresponds to a given content type.
NULL on error.
|
Gio | |
Gets the default application for launching applications
using this URI scheme.
Gets the default application for launching applications
using this URI scheme. A URI scheme is the initial part of the URI, up to but not including the ':', e.g. "http", "ftp" or "sip".
|
Gio | |
Gets a list of fallback GAppInfos for a given content type, i.e.
Gets a list of fallback GAppInfos for a given content type, i.e.
those applications which claim to support the given content type by MIME type subclassing and not directly. for given content_type or NULL on error.
|
Gio | |
Gets a list of recommended GAppInfos for a given content type, i.e.
Gets a list of recommended GAppInfos for a given content type, i.e.
those applications which claim to support the given content type exactly, and not by MIME type subclassing. Note that the first application of the list is the last used one, i.e. the last one for which g_app_info_set_as_last_used_for_type has been called. for given content_type or NULL on error.
|
Gio | |
Utility function that launches the default application
registered to handle the specified uri.
Utility function that launches the default application
registered to handle the specified uri. Synchronous I/O is done on the uri to detect the type of the file if required.
|
Gio | |
Gio.app_info_reset_type_associations
(String content_type)
:
none
Removes all changes to the type associations done by
g_app_info_set_as_default_for_type(), g_app_info_set_as_default_for_extension(), g_app_info_add_supports_type() or g_app_info_remove_supports_type().
Removes all changes to the type associations done by
g_app_info_set_as_default_for_type(), g_app_info_set_as_default_for_extension(), g_app_info_add_supports_type() or g_app_info_remove_supports_type().
|
Gio | |
Gio.async_initable_newv_async
(Number object_type, guint32 n_parameters, Parameter parameters, gint32 io_priority, Cancellable cancellable, Function callback, void* user_data)
:
none
Helper function for constructing GAsyncInitiable object.
Helper function for constructing GAsyncInitiable object. This is
similar to g_object_newv() but also initializes the object asynchronously. When the initialization is finished, callback will be called. You can then call g_async_initable_new_finish() to get the new object and check for any errors.
|
Gio | |
Asynchronously connects to the message bus specified by bus_type.
Asynchronously connects to the message bus specified by bus_type.
When the operation is finished, callback will be invoked. You can then call g_bus_get_finish() to get the result of the operation. This is a asynchronous failable function. See g_bus_get_sync() for the synchronous version.
|
Gio | |
Finishes an operation started with g_bus_get().
Finishes an operation started with g_bus_get().
The returned object is a singleton, that is, shared with other callers of g_bus_get() and g_bus_get_sync() for bus_type. In the event that you need a private message bus connection, use g_dbus_address_get_for_bus() and g_dbus_connection_new_for_address(). Note that the returned GDBusConnection object will (usually) have the GDBusConnection:exit-on-close property set to TRUE.
|
Gio | |
Synchronously connects to the message bus specified by bus_type.
Synchronously connects to the message bus specified by bus_type.
Note that the returned object may shared with other callers, e.g. if two separate parts of a process calls this function with the same bus_type, they will share the same object. This is a synchronous failable function. See g_bus_get() and g_bus_get_finish() for the asynchronous version. The returned object is a singleton, that is, shared with other callers of g_bus_get() and g_bus_get_sync() for bus_type. In the event that you need a private message bus connection, use g_dbus_address_get_for_bus_sync() and g_dbus_connection_new_for_address(). Note that the returned GDBusConnection object will (usually) have the GDBusConnection:exit-on-close property set to TRUE.
|
Gio | |
Gio.bus_own_name
(BusType bus_type, String name, BusNameOwnerFlags flags, Closure bus_acquired_closure, Closure name_acquired_closure, Closure name_lost_closure)
:
guint32
Starts acquiring name on the bus specified by bus_type and calls
acquired respectively lost.
Starts acquiring name on the bus specified by bus_type and calls
acquired respectively lost. Callbacks will be invoked in the linkend="g-main-context-push-thread-default">thread-default main loop of the thread you are calling this function from. You are guaranteed that one of the name_acquired_handler and name_lost_handler callbacks will be invoked after calling this function - there are three possible cases: When you are done owning the name, just call g_bus_unown_name() with the owner id this function returns. If the name is acquired or lost (for example another application could acquire the name if you allow replacement or the application currently owning the name exits), the handlers are also invoked. If the GDBusConnection that is used for attempting to own the name closes, then name_lost_handler is invoked since it is no longer possible for other processes to access the process. You cannot use g_bus_own_name() several times for the same name (unless interleaved with calls to g_bus_unown_name()) - only the first call will work. Another guarantee is that invocations of name_acquired_handler and name_lost_handler are guaranteed to alternate; that is, if name_acquired_handler is invoked then you are guaranteed that the next time one of the handlers is invoked, it will be name_lost_handler. The reverse is also true. If you plan on exporting objects (using e.g. g_dbus_connection_register_object()), note that it is generally too late to export the objects in name_acquired_handler. Instead, you can do this in bus_acquired_handler since you are guaranteed that this will run before name is requested from the bus. This behavior makes it very simple to write applications that wants to own names and export objects, see Simply register objects to be exported in bus_acquired_handler and unregister the objects (if any) in name_lost_handler. g_bus_unown_name() to stop owning the name.
|
Gio | |
Gio.bus_own_name_on_connection
(DBusConnection connection, String name, BusNameOwnerFlags flags, Closure name_acquired_closure, Closure name_lost_closure)
:
guint32
Like g_bus_own_name() but takes a GDBusConnection instead of a
GBusType.
Like g_bus_own_name() but takes a GDBusConnection instead of a
GBusType. g_bus_unown_name() to stop owning the name.
|
Gio | |
Gio.bus_unown_name
(guint32 owner_id)
:
none
Stops owning a name.
Stops owning a name.
|
Gio | |
Gio.bus_unwatch_name
(guint32 watcher_id)
:
none
Stops watching a name.
Stops watching a name.
|
Gio | |
Gio.bus_watch_name
(BusType bus_type, String name, BusNameWatcherFlags flags, Closure name_appeared_closure, Closure name_vanished_closure)
:
guint32
Starts watching name on the bus specified by bus_type and calls
known to have a owner respectively known to lose its owner.
Starts watching name on the bus specified by bus_type and calls
known to have a owner respectively known to lose its owner. Callbacks will be invoked in the linkend="g-main-context-push-thread-default">thread-default main loop of the thread you are calling this function from. You are guaranteed that one of the handlers will be invoked after calling this function. When you are done watching the name, just call g_bus_unwatch_name() with the watcher id this function returns. If the name vanishes or appears (for example the application owning the name could restart), the handlers are also invoked. If the GDBusConnection that is used for watching the name disconnects, then possible to access the name. Another guarantee is that invocations of name_appeared_handler and name_vanished_handler are guaranteed to alternate; that is, if name_appeared_handler is invoked then you are guaranteed that the next time one of the handlers is invoked, it will be name_vanished_handler. The reverse is also true. This behavior makes it very simple to write applications that wants to take action when a certain name exists, see should create object proxies in name_appeared_handler and destroy them again (if any) in name_vanished_handler. g_bus_unwatch_name() to stop watching the name.
|
Gio | |
Gio.bus_watch_name_on_connection
(DBusConnection connection, String name, BusNameWatcherFlags flags, Closure name_appeared_closure, Closure name_vanished_closure)
:
guint32
Like g_bus_watch_name() but takes a GDBusConnection instead of a
GBusType.
Like g_bus_watch_name() but takes a GDBusConnection instead of a
GBusType. g_bus_unwatch_name() to stop watching the name.
|
Gio | |
Checks if a content type can be executable.
Checks if a content type can be executable. Note that for instance
things like text files can be executables (i.e. scripts and batch files). can be executable, FALSE otherwise.
|
Gio | |
Gio | ||
Gio | ||
Gio | ||
Gio | ||
Gio | ||
Gio.content_type_guess
(String filename, String data, guint32 data_size, Object out_values)
:
String
Guesses the content type based on example data.
Guesses the content type based on example data. If the function is
uncertain, result_uncertain will be set to TRUE. Either filename or data may be NULL, in which case the guess will be based solely on the other argument. given data. Free with g_free()
|
Gio | |
Tries to guess the type of the tree with root root, by
looking at the files it contains.
Tries to guess the type of the tree with root root, by
looking at the files it contains. The result is an array of content types, with the best guess coming first. The types returned all have the form x-content/foo, e.g. x-content/audio-cdda (for audio CDs) or x-content/image-dcf (for a camera memory card). See the specification for more on x-content types. This function is useful in the implementation of g_mount_guess_content_type(). array of zero or more content types, or NULL. Free with g_strfreev()
|
Gio | |
Gio | ||
Checks if the content type is the generic "unknown" type.
|
Gio | |
Gio.content_types_get_registered
()
:
Array
Gets a list of strings containing all the registered content types
known to the system.
Gets a list of strings containing all the registered content types
known to the system. The list and its data should be freed using g_list_foreach (list, g_free, NULL); g_list_free (list);
|
Gio | |
Synchronously looks up the D-Bus address for the well-known message
bus instance specified by bus_type.
Synchronously looks up the D-Bus address for the well-known message
bus instance specified by bus_type. This may involve using various platform specific mechanisms.
|
Gio | |
Gio.dbus_address_get_stream
(String address, Cancellable cancellable, Function callback, void* user_data)
:
none
Asynchronously connects to an endpoint specified by address and
sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation.
Asynchronously connects to an endpoint specified by address and
sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation. When the operation is finished, callback will be invoked. You can then call g_dbus_address_get_stream_finish() to get the result of the operation. This is an asynchronous failable function. See g_dbus_address_get_stream_sync() for the synchronous version.
|
Gio | |
Finishes an operation started with g_dbus_address_get_stream().
Finishes an operation started with g_dbus_address_get_stream().
|
Gio | |
Gio.dbus_address_get_stream_sync
(String address, String out_guid, Cancellable cancellable)
:
Gio.IOStream
Synchronously connects to an endpoint specified by address and
sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation.
Synchronously connects to an endpoint specified by address and
sets up the connection so it is in a state to run the client-side of the D-Bus authentication conversation. This is a synchronous failable function. See g_dbus_address_get_stream() for the asynchronous version.
|
Gio | |
Looks up the value of an annotation.
Looks up the value of an annotation.
This cost of this function is O(n) in number of annotations.
|
Gio | |
Creates a D-Bus error name to use for error.
Creates a D-Bus error name to use for error. If error matches
a registered error (cf. g_dbus_error_register_error()), the corresponding D-Bus error name will be returned. Otherwise the a name of the form will be used. This allows other GDBus applications to map the error on the wire back to a GError using g_dbus_error_new_for_dbus_error(). This function is typically only used in object mappings to put a GError on the wire. Regular applications should not use it.
|
Gio | |
Gets the D-Bus error name used for error, if any.
Gets the D-Bus error name used for error, if any.
This function is guaranteed to return a D-Bus error name for all GErrors returned from functions handling remote method calls (e.g. g_dbus_connection_call_finish()) unless g_dbus_error_strip_remote_error() has been used on error.
|
Gio | |
Checks if error represents an error received via D-Bus from a remote peer.
|
Gio | |
Gio.dbus_error_quark
()
:
guint32
|
Gio | |
Gio.dbus_error_register_error
(guint32 error_domain, gint32 error_code, String dbus_error_name)
:
gboolean
Creates an association to map between dbus_error_name and
GErrors specified by error_domain and error_code.
Creates an association to map between dbus_error_name and
GErrors specified by error_domain and error_code. This is typically done in the routine that returns the GQuark for an error domain. exists.
|
Gio | |
Gio.dbus_error_register_error_domain
(String error_domain_quark_name, guint32 quark_volatile, DBusErrorEntry entries, guint32 num_entries)
:
none
Helper function for associating a GError error domain with D-Bus error names.
Helper function for associating a GError error domain with D-Bus error names.
|
Gio | |
Looks for extra information in the error message used to recover
the D-Bus error name and strips it if found.
Looks for extra information in the error message used to recover
the D-Bus error name and strips it if found. If stripped, the message field in error will correspond exactly to what was received on the wire. This is typically used when presenting errors to the end user.
|
Gio | |
Gio.dbus_error_unregister_error
(guint32 error_domain, gint32 error_code, String dbus_error_name)
:
gboolean
Destroys an association previously set up with g_dbus_error_register_error().
Destroys an association previously set up with g_dbus_error_register_error().
|
Gio | |
Gio.dbus_generate_guid
()
:
String
Generate a D-Bus GUID that can be used with
e.g.
Generate a D-Bus GUID that can be used with
e.g. g_dbus_connection_new(). See the D-Bus specification regarding what strings are valid D-Bus GUID (for example, D-Bus GUIDs are not RFC-4122 compliant).
|
Gio | |
Checks if string is a D-Bus address.
Checks if string is a D-Bus address.
This doesn't check if string is actually supported by GDBusServer or GDBusConnection - use g_dbus_is_supported_address() to do more checks.
|
Gio | |
Checks if string is a D-Bus GUID.
|
Gio | |
Gio | ||
Gio | ||
Gio | ||
Like g_dbus_is_address() but also checks if the library suppors the
transports in string and that key/value pairs for each transport are valid.
Like g_dbus_is_address() but also checks if the library suppors the
transports in string and that key/value pairs for each transport are valid. supported by this library, FALSE if error is set.
|
Gio | |
Gio | ||
Creates a hash value for a GFile.
Creates a hash value for a GFile.
This call does no blocking i/o. integer that can be used as hash value for the GFile. This function is intended for easily hashing a GFile to add to a GHashTable or similar data structure.
|
Gio | |
Creates a GFile with the given argument from the command line.
Creates a GFile with the given argument from the command line. The value of
relative to the current working directory. This operation never fails, but the returned object might not support any I/O operation if arg points to a malformed path.
|
Gio | |
Constructs a GFile for a given path.
Constructs a GFile for a given path. This operation never
fails, but the returned object might not support any I/O operation if path is malformed.
|
Gio | |
Constructs a GFile for a given URI.
|
Gio | |
Constructs a GFile with the given parse_name (i.e.
Constructs a GFile with the given parse_name (i.e. something given by g_file_get_parse_name()).
This operation never fails, but the returned object might not support any I/O operation if the parse_name cannot be parsed.
|
Gio | |
Gio | ||
Generate a GIcon instance from str.
Generate a GIcon instance from str. This function can fail if
If your application or library provides one or more GIcon implementations you need to ensure that each GType is registered with the type system prior to calling g_icon_new_for_string(). interface or NULL if error is set.
|
Gio | |
Gio.initable_newv
(Number object_type, guint32 n_parameters, Parameter parameters, Cancellable cancellable)
:
void*
Helper function for constructing GInitiable object.
Helper function for constructing GInitiable object. This is
similar to g_object_newv() but also initializes the object and returns NULL, setting an error on failure.
|
Gio | |
Converts errno.h error codes into GIO error codes.
Converts errno.h error codes into GIO error codes.
|
Gio | |
Gio.io_error_quark
()
:
guint32
Gets the GIO Error Quark.
Gets the GIO Error Quark.
|
Gio | |
Gets the type associated with extension.
Gets the type associated with extension.
|
Gio | |
Loads all the modules in the specified directory.
Loads all the modules in the specified directory.
If don't require all modules to be initialized (and thus registering all gtypes) then you can use g_io_modules_scan_all_in_directory() which allows delayed/lazy loading of modules. from the directory, All the modules are loaded into memory, if you want to unload them (enabling on-demand loading) you must call g_type_module_unuse() on all the modules. Free the list with g_list_free().
|
Gio | |
Gio.io_modules_scan_all_in_directory
(String dirname)
:
none
Scans all the modules in the specified directory, ensuring that
any extension point implemented by a module is registered.
Scans all the modules in the specified directory, ensuring that
any extension point implemented by a module is registered. This may not actually load and initialize all the types in each module, some modules may be lazily loaded and initialized when an extension point it implementes is used with e.g. g_io_extension_point_get_extensions() or g_io_extension_point_get_extension_by_name(). If you need to guarantee that all types are loaded in all the modules, use g_io_modules_load_all_in_directory().
|
Gio | |
Gio.io_scheduler_cancel_all_jobs
()
:
none
Cancels all cancellable I/O jobs.
Cancels all cancellable I/O jobs.
A job is cancellable if a GCancellable was passed into g_io_scheduler_push_job().
|
Gio | |
Gio.io_scheduler_push_job
(Function job_func, void* user_data, Function notify, gint32 io_priority, Cancellable cancellable)
:
none
Schedules the I/O job to run.
Schedules the I/O job to run.
regardless whether the job was cancelled or has run to completion. If cancellable is not NULL, it can be used to cancel the I/O job by calling g_cancellable_cancel() or by calling g_io_scheduler_cancel_all_jobs().
|
Gio | |
Lookup "gio-proxy" extension point for a proxy implementation that supports
specified protocol. |
Gio | |
Gio.proxy_resolver_get_default
()
:
Gio.ProxyResolver
Gets the default GProxyResolver for the system.
Gets the default GProxyResolver for the system.
|
Gio | |
Gio.resolver_error_quark
()
:
guint32
Gets the GResolver Error Quark.
Gets the GResolver Error Quark.
|
Gio | |
Gio.simple_async_report_gerror_in_idle
(Object object, Function callback, void* user_data, Object error)
:
none
Reports an error in an idle function.
Reports an error in an idle function. Similar to
g_simple_async_report_error_in_idle(), but takes a GError rather than building a new one.
|
Gio | |
Gio.tls_error_quark
()
:
guint32
Gets the TLS error quark.
Gets the TLS error quark.
|
Gio | |
Determines if mount_path is considered an implementation of the
OS.
Determines if mount_path is considered an implementation of the
OS. This is primarily used for hiding mountable and mounted volumes that only are used in the OS and has little to no relevance to the casual user. of the OS.
|
Gio | |
Compares two unix mounts.
Compares two unix mounts.
or less than mount2, respectively.
|
Gio | |
Gio.unix_mount_free
(UnixMountEntry mount_entry)
:
none
Frees a unix mount.
Frees a unix mount.
|
Gio | |
Gets the device path for a unix mount.
Gets the device path for a unix mount.
|
Gio | |
Gets the filesystem type for the unix mount.
Gets the filesystem type for the unix mount.
|
Gio | |
Gets the mount path for a unix mount.
Gets the mount path for a unix mount.
|
Gio | |
Guesses whether a Unix mount can be ejected.
Guesses whether a Unix mount can be ejected.
|
Gio | |
Guesses the icon of a Unix mount.
Guesses the icon of a Unix mount.
|
Gio | |
Guesses the name of a Unix mount.
Guesses the name of a Unix mount.
The result is a translated string. be freed with g_free()
|
Gio | |
Guesses whether a Unix mount should be displayed in the UI.
Guesses whether a Unix mount should be displayed in the UI.
|
Gio | |
Checks if a unix mount is mounted read only.
Checks if a unix mount is mounted read only.
|
Gio | |
Checks if a unix mount is a system path.
Checks if a unix mount is a system path.
|
Gio | |
Gio | ||
Gio |
None |