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
Afficher le fichier Open project: rggjan/Tomboy-Todo-List

Méthodes publiques

Méthode Description
DateTag ( string name, TaskManagerNoteAddin addin ) : System

Initialisation with the name and the tasknote

Initialize ( string elementName ) : void

Méthodes protégées

Méthode Description
OnActivate ( NoteEditor editor, Gtk start, Gtk end ) : bool

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

Private Methods

Méthode 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 méthode

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

Initialize() public méthode

public Initialize ( string elementName ) : void
elementName string
Résultat void

OnActivate() protected méthode

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 ///
Résultat bool