C# Class Tomboy.TaskManager.DateTag

Tag that identifies a duedate. It is responsible for listening to clicks (opening calendar dialog), but also finding the duedate later on
Inheritance: NoteTag
Mostra file Open project: rggjan/Tomboy-Todo-List

Public Methods

Method Description
DateTag ( string name, TaskManagerNoteAddin addin ) : System

Initialisation with the name and the tasknote

Initialize ( string elementName ) : void

Protected Methods

Method Description
OnActivate ( NoteEditor editor, Gtk start, Gtk end ) : bool

Handles the click on the datetag: Opens up a calendar dialog

Private Methods

Method Description
OnDialogResponse ( object obj, Gtk.ResponseArgs args ) : void

Gets the selected date from the calendar and updates the region of the duedate

Method Details

DateTag() public method

Initialisation with the name and the tasknote
public DateTag ( string name, TaskManagerNoteAddin addin ) : System
name string /// A ///
addin TaskManagerNoteAddin /// A ///
return System

Initialize() public method

public Initialize ( string elementName ) : void
elementName string
return void

OnActivate() protected method

Handles the click on the datetag: Opens up a calendar dialog
protected OnActivate ( NoteEditor editor, Gtk start, Gtk end ) : bool
editor NoteEditor /// A ///
start Gtk /// A ///
end Gtk /// A ///
return bool