PlankServicesSystem

PlankServicesSystem — A utility class for launching applications and opening files/URIs.

Synopsis

#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;

Object Hierarchy

  GObject
   +----PlankServicesSystem

Description

Details

PLANK_SERVICES_TYPE_SYSTEM

#define PLANK_SERVICES_TYPE_SYSTEM (plank_services_system_get_type ())

The type for PlankServicesSystem.


plank_services_system_open_uri ()

void                plank_services_system_open_uri      (const gchar *uri);

Opens a file based on a URI.

uri :

 . the URI to open. [in]

plank_services_system_open ()

void                plank_services_system_open          (GFile *file);

Opens a file based on a GFile.

file :

 . the GFile to open. [in]

plank_services_system_open_files ()

void                plank_services_system_open_files    (GFile **files,
                                                         int files_length1);

Opens multiple files based on GFile.

files :

 . the GFiles to open. [in][array length=files_length1]

files_length1 :

length of the files array

plank_services_system_launch ()

void                plank_services_system_launch        (GFile *app);

Launches an application.

app :

 . the application to launch. [in]

plank_services_system_launch_with_files ()

void                plank_services_system_launch_with_files
                                                        (GFile *app,
                                                         GFile **files,
                                                         int files_length1);

Launches an application and opens files.

app :

 . the application to launch. [in][allow-none]

files :

 . the files to open with the application. [in][array length=files_length1]

files_length1 :

length of the files array

struct PlankServicesSystem

struct PlankServicesSystem;

A utility class for launching applications and opening files/URIs.


struct PlankServicesSystemClass

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 parent_class;

the parent class structure