Class G.t.b.TaskBrowser:

Part of GTG.taskbrowser.browser View In Hierarchy

No class docstring
Method __init__ Undocumented
Method on_move Undocumented
Method on_size_allocate Undocumented
Method on_delete Undocumented
Method main Undocumented
Method on_about_clicked Undocumented
Method on_about_close Undocumented
Method on_colorchooser_activate Undocumented
Method on_color_response Undocumented
Method on_workview_toggled Undocumented
Method do_toggle_workview Undocumented
Method on_sidebar_toggled Undocumented
Method on_note_toggled Undocumented
Method on_closed_toggled Undocumented
Method on_bg_color_toggled Undocumented
Method on_toolbar_toggled Undocumented
Method toggle_quickadd Undocumented
Method canonical_date Transform "arg" in a valid yyyy-mm-dd date or return None.
Method is_date_valid Return True if the date exists. False else.
Method quickadd Undocumented
Method select_task Select a task with tid 'id_toselect'.
Method do_refresh Undocumented
Method refresh_tb Refresh the task browser.
Method refresh_tags Refresh the tag list.
Method tag_separator_filter Undocumented
Method update_collapsed_row Build a list of task that must showed as collapsed in Treeview
Method restore_collapsed Undocumented
Method refresh_list Refresh or build the TreeStore of tasks.
Method refresh_closed Refresh the closed tasks pane.
Method refresh_note Refresh the notes pane.
Method add_task_tree_to_list Add tasks to a treeview.
Method taskdone_cursor_changed Called when selection changes in closed task view.
Method task_cursor_changed Called when selection changes in the active task view.
Method note_cursor_changed Undocumented
Method open_task Open the task identified by 'uid'.
Method get_tasktitle Undocumented
Method close_task Undocumented
Method on_tag_treeview_button_press_event Undocumented
Method on_nonworkviewtag_toggled Undocumented
Method on_task_treeview_button_press_event Undocumented
Method on_task_treeview_key_press_event Undocumented
Method on_closed_task_treeview_button_press_event Undocumented
Method on_closed_task_treeview_key_press_event Undocumented
Method on_add_task Undocumented
Method on_add_subtask Undocumented
Method get_selected_task Return the 'uid' of the selected task
Method get_selected_tags Undocumented
Method row_dragndrop Drag and drop support.
Method on_edit_active_task Undocumented
Method on_edit_done_task Undocumented
Method on_edit_note Undocumented
Method on_delete_confirm Undocumented
Method on_delete_task Undocumented
Method on_mark_as_done Undocumented
Method on_dismiss_task Undocumented
Method on_select_tag Undocumented
Method cmp_duedate_str Undocumented
Method sort_tasklist_rows Sort the rows based on the given column
Method close Closing the window.
Method __restore_state_from_conf Undocumented
Method __count_tasks_rec Undocumented
Method __build_task_title Undocumented
Method __create_tags_tview Undocumented
Method __create_task_tview Undocumented
Method __create_closed_tasks_tview Undocumented
Method __create_note_tview Undocumented
def __init__(self, requester, config):
Undocumented
def __restore_state_from_conf(self):
Undocumented
def on_move(self, widget, data):
Undocumented
def on_size_allocate(self, widget, data):
Undocumented
def on_delete(self, widget, user_data):
Undocumented
def main(self):
Undocumented
def on_about_clicked(self, widget):
Undocumented
def on_about_close(self, widget, response):
Undocumented
def on_colorchooser_activate(self, widget):
Undocumented
def on_color_response(self, widget, response):
Undocumented
def on_workview_toggled(self, widget):
Undocumented
def do_toggle_workview(self):
Undocumented
def on_sidebar_toggled(self, widget):
Undocumented
def on_note_toggled(self, widget):
Undocumented
def on_closed_toggled(self, widget):
Undocumented
def on_bg_color_toggled(self, widget):
Undocumented
def on_toolbar_toggled(self, widget):
Undocumented
def toggle_quickadd(self, widget):
Undocumented
def canonical_date(self, arg):
Transform "arg" in a valid yyyy-mm-dd date or return None. "arg" can be a yyyy-mm-dd, yyyymmdd, mmdd, today or a weekday name.
def is_date_valid(self, fulldate):
Return True if the date exists. False else. "fulldate" is yyyy-mm-dd
def quickadd(self, widget):
Undocumented
def select_task(self, id_toselect):
Select a task with tid 'id_toselect'.

This works only in the main task_tview. If it cannot find the requested task, nothing is selected.

def do_refresh(self, sender=None, param=None, toselect=None):
Undocumented
def refresh_tb(self, fromtask=None, toselect=None):
Refresh the task browser.

If a task asked for the refresh, we don't refresh it to avoid a loop New use refresh_tb directly, use "do_refresh".

def refresh_tags(self):
Refresh the tag list.

Not needed very often.

def tag_separator_filter(self, model, itera, user_data=None):
Undocumented
def update_collapsed_row(self, model, path, itera, user_data):
Build a list of task that must showed as collapsed in Treeview
def restore_collapsed(self, treeview, path, data):
Undocumented
def refresh_list(self, a=None, toselect=None):
Refresh or build the TreeStore of tasks.
def refresh_closed(self):
Refresh the closed tasks pane.
def refresh_note(self):
Refresh the notes pane.
def add_task_tree_to_list(self, tree_store, tid, parent, selected_uid=None, active_tasks=, treeview=True):
Add tasks to a treeview.

If 'treeview' is False, it becomes a flat list.

def taskdone_cursor_changed(self, selection=None):
Called when selection changes in closed task view.

Changes the way the selected task is displayed.

def task_cursor_changed(self, selection=None):
Called when selection changes in the active task view.

Changes the way the selected task is displayed.

def note_cursor_changed(self, selection=None):
Undocumented
def __count_tasks_rec(self, my_task, active_tasks):
Undocumented
def __build_task_title(self, task, count, extended=False):
Undocumented
def open_task(self, uid):
Open the task identified by 'uid'.

If a Task editor is already opened for a given task, we present it. Else, we create a new one.

def get_tasktitle(self, tid):
Undocumented
def close_task(self, tid):
Undocumented
def on_tag_treeview_button_press_event(self, treeview, event):
Undocumented
def on_nonworkviewtag_toggled(self, widget):
Undocumented
def on_task_treeview_button_press_event(self, treeview, event):
Undocumented
def on_task_treeview_key_press_event(self, treeview, event):
Undocumented
def on_closed_task_treeview_button_press_event(self, treeview, event):
Undocumented
def on_closed_task_treeview_key_press_event(self, treeview, event):
Undocumented
def on_add_task(self, widget, status=None):
Undocumented
def on_add_subtask(self, widget):
Undocumented
def get_selected_task(self, tv=None):
Return the 'uid' of the selected task
ParameterstvThe tree view to find the selected task in. Defaults to the task_tview.
def get_selected_tags(self):
Undocumented
def row_dragndrop(self, tree, path, it, data=None):
Drag and drop support.
def on_edit_active_task(self, widget, row=None, col=None):
Undocumented
def on_edit_done_task(self, widget, row=None, col=None):
Undocumented
def on_edit_note(self, widget, row=None, col=None):
Undocumented
def on_delete_confirm(self, widget):
Undocumented
def on_delete_task(self, widget=None, tid=None):
Undocumented
def on_mark_as_done(self, widget):
Undocumented
def on_dismiss_task(self, widget):
Undocumented
def on_select_tag(self, widget, row=None, col=None):
Undocumented
def __create_tags_tview(self):
Undocumented
def cmp_duedate_str(self, key1, key2):
Undocumented
def sort_tasklist_rows(self, column, sort_order=None):
Sort the rows based on the given column
def __create_task_tview(self):
Undocumented
def __create_closed_tasks_tview(self):
Undocumented
def __create_note_tview(self):
Undocumented
def close(self, widget=None):
Closing the window.
API Documentation for GTG, generated by pydoctor at 2009-07-19 21:37:32.