C# Class Gtk.Tasque.TaskWindow

Inheritance: Gtk.Window
Afficher le fichier Open project: GNOME/tasque

Méthodes publiques

Méthode Description
AddTask ( GtkApplicationBase application ) : void

Method to allow other classes to "click" on the "Add ITask" button.

GrabNewTaskEntryFocus ( GtkApplicationBase application ) : void
HighlightTask ( ITask task ) : void
Reinitialize ( bool show, GtkApplicationBase application ) : void

This should be called after a new IBackend has been set

SavePosition ( IPreferences preferences ) : void
ScrollToTask ( ITask task ) : void

Search through the TaskGroups looking for the specified task and adjust the window so the new task is showing.

SelectAndEdit ( ITask task, GtkApplicationBase application ) : void
ShowOriginalStatus ( ) : bool
ShowStatus ( string statusText ) : void
ShowStatus ( string statusText, uint dwellTime ) : void
ShowWindow ( GtkApplicationBase application ) : void
TaskWindow ( GtkApplicationBase application ) : System
ToggleWindowVisible ( GtkApplicationBase application ) : void

Méthodes protégées

Méthode Description
OnStyleSet ( Gtk previous_style ) : void

Private Methods

Méthode Description
CreateTask ( string taskText, ITaskList taskList ) : ITask
EnterEditMode ( ITask task, bool adjustScrolledWindow ) : void

Search through the TaskGroups looking for the specified task and: 1) scroll the window to its location, 2) enter directly into edit mode. This method should be called right after a new task is created.

GetBackgroundColor ( ) : Gdk.Color

This returns the current input widget color from the GTK theme

GetTaskCountInTaskList ( ITaskList taskList ) : int
InitWindow ( ) : void
KeyPressed ( object sender, Gtk args ) : void
OnAddTask ( object sender, EventArgs args ) : void
OnAddTaskEntryActivated ( object sender, EventArgs args ) : void
OnAddTaskEntryChanged ( object sender, EventArgs args ) : void
OnAddTaskEntryDragDataReceived ( object sender, Gtk.DragDataReceivedArgs args ) : void
OnAddTaskEntryFocused ( object sender, EventArgs args ) : void
OnAddTaskEntryUnfocused ( object sender, EventArgs args ) : void
OnBackendInitialized ( object sender, EventArgs e ) : void
OnButtonPressed ( object sender, Gtk args ) : void
OnChangeTaskList ( object sender, EventArgs args ) : void
OnDeleteTask ( object sender, EventArgs args ) : void
OnEditTask ( object sender, EventArgs args ) : void
OnGrabEntryFocus ( object sender, EventArgs args ) : void
OnNewTaskByTaskList ( object sender, EventArgs args ) : void
OnNoteDialogHidden ( object sender, EventArgs args ) : void
OnRealized ( object sender, EventArgs args ) : void
OnRowActivated ( object sender, Gtk args ) : void
OnSettingChanged ( IPreferences preferences, string settingKey ) : void
OnShowTaskNotes ( object sender, EventArgs args ) : void
OnTargetVBoxButtonPress ( object sender, Gtk args ) : void
OnTaskListChanged ( object sender, EventArgs args ) : void
OnWindowShown ( object sender, EventArgs args ) : void
PopulateWindow ( ) : void
RebuildAddTaskMenu ( ICollection taskListsModel ) : void
SelectTaskList ( string taskListName ) : void
ShowTaskNotes ( ITask task ) : void
ShowWindow ( bool supportToggle, GtkApplicationBase application ) : void
TaskListComboBoxDataFunc ( Gtk layout, Gtk renderer, Gtk model, Gtk iter ) : void
TaskWindow ( ) : System
WindowDeleted ( object sender, Gtk.DeleteEventArgs args ) : void

Method Details

AddTask() public static méthode

Method to allow other classes to "click" on the "Add ITask" button.
public static AddTask ( GtkApplicationBase application ) : void
application GtkApplicationBase
Résultat void

GrabNewTaskEntryFocus() public static méthode

public static GrabNewTaskEntryFocus ( GtkApplicationBase application ) : void
application GtkApplicationBase
Résultat void

HighlightTask() public méthode

public HighlightTask ( ITask task ) : void
task ITask
Résultat void

OnStyleSet() protected méthode

protected OnStyleSet ( Gtk previous_style ) : void
previous_style Gtk
Résultat void

Reinitialize() public static méthode

This should be called after a new IBackend has been set
public static Reinitialize ( bool show, GtkApplicationBase application ) : void
show bool
application GtkApplicationBase
Résultat void

SavePosition() public static méthode

public static SavePosition ( IPreferences preferences ) : void
preferences IPreferences
Résultat void

ScrollToTask() public méthode

Search through the TaskGroups looking for the specified task and adjust the window so the new task is showing.
public ScrollToTask ( ITask task ) : void
task ITask /// A ///
Résultat void

SelectAndEdit() public static méthode

public static SelectAndEdit ( ITask task, GtkApplicationBase application ) : void
task ITask
application GtkApplicationBase
Résultat void

ShowOriginalStatus() public static méthode

public static ShowOriginalStatus ( ) : bool
Résultat bool

ShowStatus() public static méthode

public static ShowStatus ( string statusText ) : void
statusText string
Résultat void

ShowStatus() public static méthode

public static ShowStatus ( string statusText, uint dwellTime ) : void
statusText string
dwellTime uint
Résultat void

ShowWindow() public static méthode

public static ShowWindow ( GtkApplicationBase application ) : void
application GtkApplicationBase
Résultat void

TaskWindow() public méthode

public TaskWindow ( GtkApplicationBase application ) : System
application GtkApplicationBase
Résultat System

ToggleWindowVisible() public static méthode

public static ToggleWindowVisible ( GtkApplicationBase application ) : void
application GtkApplicationBase
Résultat void