fm-gtk-file-launcher

fm-gtk-file-launcher

Synopsis

gboolean            fm_launch_desktop_entry_simple      (GtkWindow *parent,
                                                         GAppLaunchContext *ctx,
                                                         FmFileInfo *entry,
                                                         FmPathList *files);
gboolean            fm_launch_file_simple               (GtkWindow *parent,
                                                         GAppLaunchContext *ctx,
                                                         FmFileInfo *file_info,
                                                         FmLaunchFolderFunc func,
                                                         gpointer user_data);
gboolean            fm_launch_files_simple              (GtkWindow *parent,
                                                         GAppLaunchContext *ctx,
                                                         GList *file_infos,
                                                         FmLaunchFolderFunc func,
                                                         gpointer user_data);
gboolean            fm_launch_path_simple               (GtkWindow *parent,
                                                         GAppLaunchContext *ctx,
                                                         FmPath *path,
                                                         FmLaunchFolderFunc func,
                                                         gpointer user_data);
gboolean            fm_launch_paths_simple              (GtkWindow *parent,
                                                         GAppLaunchContext *ctx,
                                                         GList *paths,
                                                         FmLaunchFolderFunc func,
                                                         gpointer user_data);

Description

Details

fm_launch_desktop_entry_simple ()

gboolean            fm_launch_desktop_entry_simple      (GtkWindow *parent,
                                                         GAppLaunchContext *ctx,
                                                         FmFileInfo *entry,
                                                         FmPathList *files);

Launches desktop entry. files will be supplied to launch if entry accepts arguments. If ctx is NULL then new context on the same screen as parent will be created for launching the application.

parent :

window to determine launch screen. [allow-none]

ctx :

launch context. [allow-none]

entry :

desktop entry file to launch

files :

files to supply launch. [allow-none]

Returns :

TRUE if launch was succesful.

Since 1.0.1


fm_launch_file_simple ()

gboolean            fm_launch_file_simple               (GtkWindow *parent,
                                                         GAppLaunchContext *ctx,
                                                         FmFileInfo *file_info,
                                                         FmLaunchFolderFunc func,
                                                         gpointer user_data);

fm_launch_files_simple ()

gboolean            fm_launch_files_simple              (GtkWindow *parent,
                                                         GAppLaunchContext *ctx,
                                                         GList *file_infos,
                                                         FmLaunchFolderFunc func,
                                                         gpointer user_data);

fm_launch_path_simple ()

gboolean            fm_launch_path_simple               (GtkWindow *parent,
                                                         GAppLaunchContext *ctx,
                                                         FmPath *path,
                                                         FmLaunchFolderFunc func,
                                                         gpointer user_data);

fm_launch_paths_simple ()

gboolean            fm_launch_paths_simple              (GtkWindow *parent,
                                                         GAppLaunchContext *ctx,
                                                         GList *paths,
                                                         FmLaunchFolderFunc func,
                                                         gpointer user_data);