Application.open

Opens the given files.

In essence, this results in the #GApplication::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.

class Application
void
open
(,
string hint
)

Parameters

files FileIF[]

an array of #GFiles to open

hint string

a hint (or ""), but never %NULL

Meta

Since

2.28