tasks_insert_sync


Description:

public bool tasks_insert_sync (string tasklist_id, Builder task, string? parent_task_id, string? previous_task_id, out Object out_inserted_task, Cancellable? cancellable = null) throws Error

Creates a new task task in the task list tasklist_id.

The out_inserted_task should be freed with unref, when no longer needed.

Parameters:

this

an GDataSession

tasklist_id

id of a task list

task

a Builder with the task object

parent_task_id

parent task identifier, or null to create at the top-level

previous_task_id

previous sibling task identifier, or null to create at the first position among its siblings

out_inserted_task

the created task

cancellable

optional Cancellable object, or null

Returns:

whether succeeded