Package: gio

Function g-application-open

Lambda List

g-application-open (application files hint)

Arguments

application -- a g-application instance
files -- a list of strings with the file names
hint -- a string with a hint or an empty string ""

Details

This results in the "open" signal being emitted in the primary instance.

The hint argument is simply passed through to the "open" signal. It is intended to be used by applications that have multiple modes for opening files, e.g. "view" versus "edit". Unless you have a need for this functionality, you should use an empty string "".

The application must be registered before calling this function and it must have the :handles-open flag set.

Note

The Lisp implementation converts the list of file names with the g-file-new-for-path function to an foreign C array of g-file objects.
 

See also

2021-10-8