| Top |  |  |  |  | 
| gboolean | (*ThunarSimpleJobFunc) () | 
| ThunarJob * | thunar_simple_job_new () | 
| GArray * | thunar_simple_job_get_param_values () | 
gboolean (*ThunarSimpleJobFunc) (ThunarJob *job,GArray *param_values,GError **error);
Used by the ThunarSimpleJob to process the job
. See thunar_simple_job_new()
for further details.
| job | a ThunarJob. | |
| param_values | a GArray of the GValues passed to
 | |
| error | return location for errors. | 
ThunarJob * thunar_simple_job_new (ThunarSimpleJobFunc func,guint n_param_values,...);
Allocates a new ThunarSimpleJob, which executes the specified
func
 with the specified parameters.
Use exo_job_launch() to launch the returned job..
For example the listdir func
 expects a ThunarPath for the
folder to list, so the call to thunar_simple_job_new()
would look like this:
| 1 2 3 | job = thunar_simple_job_new (_thunar_io_jobs_listdir, 1, THUNAR_TYPE_PATH, path); exo_job_launch (EXO_JOB (job)); | 
The caller is responsible to release the returned object using
thunar_job_unref() when no longer needed.
| func | the ThunarSimpleJobFunc to execute the job. | |
| n_param_values | the number of parameters to pass to the  | |
| ... | a list of GType and parameter pairs (exactly
 | 
GArray *
thunar_simple_job_get_param_values (ThunarSimpleJob *job);