![]() |
![]() |
![]() |
plank Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
PlankServicesSystemPlankServicesSystem — A utility class for launching applications and opening files/URIs. |
#define PLANK_SERVICES_TYPE_SYSTEM void plank_services_system_open_uri (const gchar *uri
); void plank_services_system_open (GFile *file
); void plank_services_system_open_files (GFile **files
,int files_length1
); void plank_services_system_launch (GFile *app
); void plank_services_system_launch_with_files (GFile *app
,GFile **files
,int files_length1
); struct PlankServicesSystem; struct PlankServicesSystemClass;
#define PLANK_SERVICES_TYPE_SYSTEM (plank_services_system_get_type ())
The type for PlankServicesSystem.
void plank_services_system_open_uri (const gchar *uri
);
Opens a file based on a URI.
|
. the URI to open. [in] |
void plank_services_system_open (GFile *file
);
Opens a file based on a GFile.
|
. the GFile to open. [in] |
void plank_services_system_open_files (GFile **files
,int files_length1
);
Opens multiple files based on GFile.
|
. the GFiles to open. [in][array length=files_length1] |
|
length of the files array |
void plank_services_system_launch (GFile *app
);
Launches an application.
|
. the application to launch. [in] |
void plank_services_system_launch_with_files (GFile *app
,GFile **files
,int files_length1
);
Launches an application and opens files.
|
. the application to launch. [in][allow-none] |
|
. the files to open with the application. [in][array length=files_length1] |
|
length of the files array |
struct PlankServicesSystem;
A utility class for launching applications and opening files/URIs.
struct PlankServicesSystemClass { GObjectClass parent_class; };
The class structure for PLANK_SERVICES_TYPE_SYSTEM
. All the fields in this structure are private and should never be accessed directly.
GObjectClass |
the parent class structure |