Gnome Gtd
GtdTaskListGtdTaskList — a list of tasks |
- Description The GtdNotification represents a notification shown at the top of the window. The action can have a primary action that is called when the notification is gone. Optionally, the notification may have a secondary action (see gtdnotificationsetsecondaryaction ) shown as a button.
- 'Getting Things GNOME' (GTG) is a personal tasks and ToDo list organizer inspired by the 'Getting Things Done' (GTD) methodology. GTG is intended to help you track everything you need to do and need to know, from small tasks to large projects. GTG's user interface is designed to accommodate many workflows, with features such as.
Getting Things GNOME! (GTG) is a personal tasks and TODO-list items organizer for the GNOME desktop environment inspired by the Getting Things Done (GTD) methodology. GTG is designed with flexibility, adaptability, and ease of use in mind so it can be used as more than just GTD software.
Stability Level
Unstable, unless otherwise indicatedFunctions
GtdTaskList * | gtd_task_list_new() |
GdkRGBA * | gtd_task_list_get_color() |
void | gtd_task_list_set_color() |
gboolean | gtd_task_list_is_removable() |
void | gtd_task_list_set_is_removable() |
const gchar * | gtd_task_list_get_name() |
void | gtd_task_list_set_name() |
GtdProvider * | gtd_task_list_get_provider() |
void | gtd_task_list_set_provider() |
GList * | gtd_task_list_get_tasks() |
void | gtd_task_list_save_task() |
void | gtd_task_list_remove_task() |
gboolean | gtd_task_list_contains() |
Properties
GdkRGBA * | color | Read / Write |
gboolean | is-removable | Read / Write |
gchar * | name | Read / Write |
GtdProvider * | provider | Read / Write |
Signals
void | task-added | Run Last |
void | task-removed | Run Last |
void | task-updated | Run Last |
Types and Values
#define | GTD_TYPE_TASK_LIST |
struct | GtdTaskListClass |
GtdTaskList |
Description
A GtdTaskList represents a task list, and contains a list of tasks, a color,a name and the provider who generated it.
Functions
gtd_task_list_new ()
Creates a new list.
Parameters
Returns
the new GtdTaskList.
[transfer full]
gtd_task_list_get_color ()
Retrieves the color of list
. It is guarantee that it always returns acolor, given a valid GtdTaskList.
Parameters
Returns
the color of list
. Free with gdk_rgba_free
after use.
[transfer full]
gtd_task_list_set_color ()
sets the color of list
.
Parameters
gtd_task_list_is_removable ()
gtd_task_list_set_is_removable ()
Sets whether list
can be deleted or not.
Parameters
list | a GtdTaskList |
is_removable |
|
gtd_task_list_get_name ()
Retrieves the user-visible name of list
, or NULL
.
Parameters
Returns
the internal name of list
. Do not freeafter use.
[transfer none]
gtd_task_list_set_name ()
Sets the list
name to name
.
Parameters
list | a GtdTaskList | |
name | the name of | [nullable] |
gtd_task_list_get_provider ()
Retrieves the GtdProvider who owns this list.
Parameters
Returns
a GtdProvider.
[transfer none]
gtd_task_list_set_provider ()
Sets the provider of this tasklist.
Parameters
self | a GtdTaskList | |
provider | a GtdProvider, or | [nullable] |
gtd_task_list_get_tasks ()
Returns the list's tasks.
Parameters
Returns
a newly-allocated list of the list's tasks.
[element-type GtdTask][transfer container]
gtd_task_list_save_task ()
Adds or updates task
to list
if it's not already present.
Parameters
gtd_task_list_remove_task ()
Removes task
from list
if it's inside the list.
Parameters
gtd_task_list_contains ()
Checks if task
is inside list
.
Parameters
Returns
TRUE
if list
contains task
, FALSE
otherwise
Types and Values
struct GtdTaskListClass
Property Details
The “color”
property
The color of the list.
Flags: Read / Write
The “is-removable”
property
Whether the task list can be removed from the system.
Flags: Read / Write
Default value: FALSE
The “name”
property
The name of the list.
Flags: Read / Write
Default value: NULL
The “provider”
property
The provider that handles the list.
Flags: Read / Write
Signal Details
The “task-added”
signal
Gnome Gtk Theme
The ::task-added signal is emmited after a GtdTaskis added to the list.
Parameters
Gnome Gdm
list | a GtdTaskList |
task | a GtdTask |
user_data | user data set when the signal handler was connected. |
Flags: Run Last
The “task-removed”
signal
The ::task-removed signal is emmited after a GtdTaskis removed from the list.
Parameters
list | a GtdTaskList |
task | a GtdTask |
user_data | user data set when the signal handler was connected. |
Flags: Run Last
The “task-updated”
signal
The ::task-updated signal is emmited after a GtdTaskin the list is updated.
Parameters
list | a GtdTaskList |
task | a GtdTask |
user_data | user data set when the signal handler was connected. |
Flags: Run Last