Up: cl-cffi-gtk4 API documentation
Package gio
This is the API documentation of a Lisp binding to GIO.
GIO is striving to provide a modern, easy-to-use VFS API that sits at the
right level in the library stack, as well as other generally useful APIs for
desktop applications (such as networking and D-Bus support). The goal is to
overcome the shortcomings of GnomeVFS and provide an API that is so good that
developers prefer it over raw POSIX calls. Among other things that means
using GObject. It also means not cloning the POSIX API, but providing
higher-level, document-centric interfaces.
About This PackageAsynchronous I/O File types and applications Icons Resources Permissions Data models Application support File OperationsGFile Flags used when querying a g:file-info instance. ... The g:file interface is a high level abstraction for manipulating
files on a virtual file system. ... The g:file-as-namestring type specifier represents and performs automatic conversion between a Lisp namestring and a g:file object
for files on a virtual file system. ...
Gets the requested information about the specified file. ... Constructs a g:file object with the given parsename, that is, something given by the g:file-get-parse-name function. ... Gets the local pathname for file, if one exists. ... Gets the local pathname for file, if one exists. ...
Gets the parse name for the file. ... GFileInfo The g:file-info class implements methods for getting information
that all files should contain, and allows for manipulation of extended
attributes. ... Creates a new g:file-info instance. ... Asynchronous I/OGCancellable The gio:cancellable object allows operations to be cancelled. ... This is the function type of the callback used for the g:source instance returned by the g:cancellable-source-new function. ... Creates a new g:cancellable object. ...
Checks if a cancellable job has been cancelled. ... Creates a source that triggers if cancellable is cancelled and calls its g:cancellable-source-func callback function. ... Gets the top cancellable from the stack. ... Pops cancellable off the cancellable stack (verifying that cancellable
is on the top of the stack). ... Pushes cancellable onto the cancellable stack. ... Resets cancellable to its uncancelled state. ... GAsyncResult
Provides a base class for implementing asynchronous function results. ...
Type definition for a function that will be called back when an asynchronous
operation within GIO has been completed. ... Gets the user data from a g:async-result instance. ... Gets the source object from a g:async-result instance. ... Checks if result has the given tag, generally a function pointer indicating the result function was created by. ... GTaskFile types and applicationsIntroduction to GContentType
A content type is a platform specific string that defines the type of a file. On UNIX it is a MIME type like "text/plain" or "image/png". On Win32 it is an extension string like ".doc", ".txt" or a perceived string like "audio". Such strings can be looked up in the registry at HKEY_CLASSES_ROOT. On macOS it is a Uniform Type Identifier such as com.apple.application. Functions for GContentType
Compares two content types for equality. ...
Checks if the content type is the generic "unknown" content type. ...
Gets the human readable description of the content type. ...
Gets the MIME type for the content type, if one is registered. ... The g:content-type-mime-type function gets the list of directories
which MIME data is loaded from. ...
Gets the icon for a content type. ... Gets the symbolic icon for a content type. ...
Gets the generic icon name for a content type. ...
Checks if a content type can be executable. ...
Tries to find a content type based on the MIME type name. ...
Gets a list of strings containing all the registered content types known to
the system. ... GAppInfo Flags used when creating a g:app-info instance. ...
Information about an installed application and methods to launch it with
file arguments. ... Creates a new g:app-info instance from the given information. ...
Creates a duplicate of an application info. ...
Checks if two application infos are equal. ...
Gets the ID of an application. ...
Gets the installed name of the application. ...
Gets the display name of the application. ...
Gets a human readable description of an installed application. ...
Gets the name of the executable for the installed application. ...
Gets the commandline with which the application will be started. ...
Gets the icon for the application. ...
Launches the application. ...
Checks if the application accepts files as arguments. ...
Checks if the application supports reading files and directories from URIs. ...
Launches the application. ...
Checks if the application info should be shown in menus that list available
applications. ...
Obtains the information whether the application info can be deleted. ...
Tries to delete an application info. ...
Removes all changes to the type associations done by the 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
function. ...
Sets the application as the default handler for a given content type. ...
Sets the application as the default handler for the given file extension. ...
Sets the application as the last used application for a given content type. ...
Adds a content type to the application information to indicate the
application is capable of opening files with the given content type. ...
Checks if a supported content type can be removed from an application. ...
Removes a supported content type from an application information, if
possible. ... Retrieves the list of content types that info claims to support. ...
Gets a list of all application infos for the applications currently
registered on this system. ...
Gets a list of all application infos for a given content type, including
the recommended and fallback application infos. ...
Gets the default application info for a given content type. ...
Gets the default application for handling URIs with the given URI scheme. ...
Gets a list of fallback application infos for a given content type, that is,
those applications which claim to support the given content type by MIME
type subclassing and not directly. ...
Gets a list of recommended application infos for a given content type, that
is, those applications which claim to support the given content type
exactly, and not by MIME type subclassing. ...
Utility function that launches the default application registered to handle
the specified URI. ... Asynchronous version of the g:app-info-launch-default-for-uri
function. ... Finishes an asynchronous g:app-info-launch-default-for-uri-async
operation. ...
Integrating the launch with the launching application. ...
Creates a new application launch context. ...
Arranges for variable to be set to value in the child's environment when context is used to launch an application. ... Arranges for variable to be unset in the child's environment when context is used to launch an application. ...
Gets the complete environment variable list to be passed to the child process when context is used to launch an application. ...
Gets the display string for the context. ...
Initiates startup notification for the application and returns the DESKTOP_STARTUP_ID for the launched operation, if supported. ...
Called when an application has failed to launch, so that it can cancel the
application startup notification started in the g:app-launch-context-startup-notify-id function. ... IconsGIconGFileIcon The g:file-icon class specifies an icon by pointing to an image
file to be used as icon. ...
Creates a new icon for a file. ... GLoadableIconGThemedIcon
Creates a new themed icon for the icon name. ... Creates a new themed icon for names. ... Creates a new themed icon for name, and all the names that can
be created by shortening iconname at '-' characters. ... Prepend a name to the list of icons from within icon. ... Append a name to the list of icons from within icon. ... GEmblem The g:emblem-origin enumeration is used to add information about the origin of the emblem to a g:emblem object. ... The g:emblem class is an implementation of the g:icon class
that supports having an emblem, which is an icon with additional properties. ...
Creates a new emblem for an icon. ...
Creates a new emblem for an icon. ... GEmblemedIcon The g:emblemed-icon class is an implementation of the g:icon
interface that supports adding an emblem to an icon. ... Gets the main icon for the emblemed icon. ...
Gets the list of emblems for the emblemed icon. ... Adds emblem to the list emblems for the emblemed icon. ...
Removes all the emblems from the emblemed icon. ... Resources The g:resource-flags flags give information about a particular
file inside a resource bundle. ... The g:resource-lookup-flags flags determine how resource path
lookups are handled. ...
Applications and libraries often contain binary or textual data that is
really part of the application, rather than user data. ... The g:with-resource macro allocates a new g:resource
instance, loads the resource from a file, register the resource with the
process-global set of resources and executes the body that uses the
resources. ... The g:with-resources macro creates new variable bindings and
executes the body that use these bindings. ... Loads a binary resource bundle and creates a g:resource instance
representation of it, allowing you to query it for data. ...
Looks for a file at the specified path in the resource and returns a pointer
that lets you directly access the data in memory. ...
Returns all the names of children at the specified path in the resource. ...
Looks for a file at the specified path in the resource and if found returns
information about it. ...
Registers the resource with the process-global set of resources. ...
Unregisters the resource from the process-global set of resources. ...
Looks for a file at the specified path in the set of globally registered
resources and returns a pointer that lets you directly access the data in
memory. ...
Returns all the names of children at the specified path in the set of
globally registered resources. ...
Looks for a file at the specified path in the set of globally registered
resources and if found returns information about it. ... PermissionsGPermissionGSimplePermission The g:simple-permission class is a trivial implementation of the g:permission class that represents a permission that is either
always or never allowed. ... Creates a new g:permission instance that represents an action that
is either always or never allowed. ... Data modelsGListModelGListStore The g:list-store object is an implementation of the g:list-model interface that stores all items in memory. ... Creates a new list store with items of gtype type. ... Inserts the item into the list store at pos. ...
Specifies the type of a comparison function used to compare two values. ...
Inserts the item into the list store at a position to be determined by the func callback function. ...
Appends the item to the list store. ... Removes the item from the list store that is at pos. ... Removes all items from the list store. ... Sort the items in the list store according to func. ...
Looks up the given item in the list store by looping over the items until the first occurrence of item. ...
Specifies the type of a callback function used to test two values for
equality. ...
Looks up the given item in the list store by looping over the items and comparing them with the func callback function until the first
occurrence of item which matches. ... Application supportGApplication Flags used to define the behaviour of a g:application instance. ... The g:application class is the foundation of an application. ... Checks if the id argument is a valid application identifier. ... Creates a new g:application instance. ...
Attempts registration of the application. ...
Increases the use count of the application. ...
Decrease the use count of the application. ...
Immediately quits the application. ...
Activates the application. ... This results in the "open" signal being emitted in the primary
instance. ...
Runs the application. ...
Sends a notification on behalf of the application to the desktop shell. ...
Withdraws a notification that was sent with the g:application-send-notification function. ...
Adds main option entries to be handled by the application. ...
Adds an option to be handled by the application. ... Adds a g:option-group instance to the command line handling of the
application. ...
Sets the parameter string to be used by the command line handling of the
application. ...
Adds a summary to the application option context. ...
Adds a description to the application option context. ...
Accessor of the default application for the process. ...
Increases the busy count of the application. ...
Decreases the busy count of the application. ... Marks the application as busy while the property on the object is true. ...
Destroys a binding between the property and the busy state of the
application that was previously created with the g:application-bind-busy-property function. ... GApplicationCommandLine The g:application-command-line class represents a command line
invocation of an application. ...
Determines if the command line represents a remote invocation. ...
Gets the list of arguments that was passed on the command line. ...
Gets the working directory of the command line invocation. ... Gets the contents of the environ variable of the command line invocation, as would be returned by the g_get_environ() function. ... Gets the options that were passed to the g:application-command-line
instance. ... Creates a g:file object corresponding to a filename that was given
as part of the invocation of the command line. ...
Gets the value of a particular environment variable of the command line invocation, as would be returned by the g_getenv() function. ... Gets the platform data associated with the invocation of cmdline. ... Accessor of the exit status of a g:application-command-line
instance. ... GActionGroup The g:action-group interface represents a group of actions. ...
Lists the actions contained within the action group. ...
Checks if the named action exists within the action group. ...
Checks if the named action within the action group is currently enabled. ...
Queries the type of the parameter that must be given when activating the
named action within the action group. ...
Queries the type of the state of the named action within the action group. ...
Requests a hint about the valid range of values for the state of the named
action within the action group. ...
Queries the current state of the named action within the action group. ...
Request for the state of the named action within the action group to be changed to the parameter argument. ...
Activate the named action within the action group. ... Emits the "action-added" signal on the action group. ... Emits the "action-removed" signal on the action group. ... Emits the "action-enabled-changed" signal on the action group. ... Emits the "action-state-changed" signal on the action group. ... GActionMap The g:action-map interface is implemented by g:action-group
implementations that operate by containing a number of named g:action instances, such as a g:simple-action-group object. ...
Looks up the action with the given name in the action map. ... A convenience function for creating multiple g:simple-action instances and adding them to a g:action-map object. ...
Adds an action to the action map. ...
Removes the named action from the action map. ... GSimpleActionGroup The g:simple-action-group class is a hash table filled with g:action instances, implementing the g:action-group and g:action-map interfaces. ... Creates a new, empty, action group. ... Looks up the action with the name name in the action group. ...
Adds an action to the action group. ...
Removes the named action from the action group. ... A convenience function for creating multiple g:simple-action
instances and adding them to the action group. ... GAction
Checks if the action name is valid. ...
Requests a hint about the valid range of values for the state of the action. ... Request for the state of the action to be changed to value. ...
Activates the action. ...
Parses a detailed action name into its separate name and target components. ...
Formats a detailed action name from an action name and a target value. ... GSimpleActionGPropertyAction The g:property-action class is a way to get a g:action
object with a state value reflecting and controlling the value of a g:object property. ... If true, the state of the action will be the negation of the property
value, provided the property is boolean. ...
The name of the action. This is mostly meaningful for identifying the action once it has been added to a g:action-map instance. ...
The type of the parameter that must be given when activating the action. ... The state of the action, or the cffi:null-pointer value if the action
is stateless. ... The variant parameter type of the state that the action has, or nil
if the action is stateless. ... Creates an action corresponding to the value of property on the
object. ... GMenuModel The g:menu-model class represents the contents of a menu -
an ordered list of menu items. ...
Queries if the menu model is mutable. ...
Query the number of items in the menu model. ... Creates a g:menu-attribute-iter object to iterate over the attributes of the item at position item in model. ... Creates a g:menu-link-iter object to iterate over the links of the item at position index in model. ... The g:menu-attribute-iter class is an opaque structure type. ...
Attempts to advance the iterator to the next, possibly first, attribute. ...
Gets the name of the attribute at the current iterator position, as a
string. ...
Gets the value of the attribute at the current iterator position, as a
string. ... The g:menu-link-iter class is an opaque structure type. ...
Attempts to advance the iterator to the next, possibly first, link. ...
Gets the name of the link at the current iterator position, as a string. ... Gets the linked g:menu-model object at the current iterator
position. ... GMenu
Marks the menu as frozen. ...
Convenience function for inserting a normal menu item into the menu. ...
Convenience function for prepending a normal menu item to the start of the
menu. ...
Convenience function for appending a normal menu item to the end of the
menu. ...
Inserts a menu item into the menu. ...
Prepends the menu item to the start of the menu. ...
Appends the menu item to the end of the menu. ...
Convenience function for inserting a section menu item into menu. ...
Convenience function for prepending a section menu to the start of the menu. ...
Convenience function for appending a section menu to the emd of the menu. ...
Convenience function for inserting a submenu into the menu. ...
Convenience function for prepending a submenu to the start of the menu. ...
Convenience function for appending a submenu to the end of the menu. ...
Removes an item from the menu. ...
Removes all items in the menu. ... The g:menu-item object is an opaque structure type. ... Creates a new g:menu-item object. ... Creates a new g:menu-item object representing a section. ... Creates a new g:menu-item object representing a submenu. ... Creates a g:menu-item object as an exact copy of an existing menu item in a g:menu-model object. ... Sets or unsets the "label" attribute of the menu item. ... Sets or unsets the "icon" attribute on the menu item. ... The g:menu-item-attribute-value function queries the named attribute
on the menu item. ... GNotification Priority levels for g:notification instances. ... The g:notification class is a mechanism for creating a notification
to be shown to the user, typically as a pop-up notification presented by the
desktop environment shell. ... Creates a new notification with title as its title. ...
Sets the title of the notification. ...
Sets the body of the notification. ...
Sets the icon of the notification. ...
Sets the priority of the notification. ... Sets the default action of the notification to action. ...
Adds a button to the notification that activates the action in action when clicked. ... | Exported Symbol Index |