| libfm Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
gboolean (*FmLaunchFolderFunc) (GAppLaunchContext *ctx,GList *folder_infos,gpointer user_data,GError **err); FmFileLauncher; gboolean fm_launch_files (GAppLaunchContext *ctx,GList *file_infos,FmFileLauncher *launcher,gpointer user_data); gboolean fm_launch_paths (GAppLaunchContext *ctx,GList *paths,FmFileLauncher *launcher,gpointer user_data); gboolean fm_launch_desktop_entry (GAppLaunchContext *ctx,const char *file_or_id,GList *uris,FmFileLauncher *launcher,gpointer user_data);
gboolean (*FmLaunchFolderFunc) (GAppLaunchContext *ctx,GList *folder_infos,gpointer user_data,GError **err);
|
|
|
|
|
|
|
|
Returns : |
typedef struct {
GAppInfo* (*get_app)(GList* file_infos, FmMimeType* mime_type, gpointer user_data, GError** err);
/* gboolean (*before_open)(GAppLaunchContext* ctx, GList* folder_infos, gpointer user_data); */
gboolean (*open_folder)(GAppLaunchContext* ctx, GList* folder_infos, gpointer user_data, GError** err);
FmFileLauncherExecAction (*exec_file)(FmFileInfo* file, gpointer user_data);
gboolean (*error)(GAppLaunchContext* ctx, GError* err, gpointer user_data);
int (*ask)(const char* msg, const char** btn_labels, int default_btn, gpointer user_data);
} FmFileLauncher;
gboolean fm_launch_files (GAppLaunchContext *ctx,GList *file_infos,FmFileLauncher *launcher,gpointer user_data);
|
|
|
|
|
|
|
|
Returns : |
gboolean fm_launch_paths (GAppLaunchContext *ctx,GList *paths,FmFileLauncher *launcher,gpointer user_data);
|
|
|
|
|
|
|
|
Returns : |
gboolean fm_launch_desktop_entry (GAppLaunchContext *ctx,const char *file_or_id,GList *uris,FmFileLauncher *launcher,gpointer user_data);
|
|
|
|
|
|
|
|
|
|
Returns : |