Application.open

Opens the given files. In essence, this results in the "open" signal being emitted in the primary instance. n_files must be greater than zero. hint is simply passed through to the ::open signal. It is intended to be used by applications that have multiple modes for opening files (eg: "view" vs "edit", etc). Unless you have a need for this functionality, you should use "". The application must be registered before calling this function and it must have the G_APPLICATION_HANDLES_OPEN flag set. Since 2.28

class Application
void
open
(,
string hint
)

Parameters

files File[]

an array of GFiles to open. [array length=n_files]

hint string

a hint (or ""), but never NULL

Meta