C# Class Gtk.Tasque.TaskWindow

Inheritance: Gtk.Window
ファイルを表示 Open project: GNOME/tasque

Public Methods

Method 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

Protected Methods

Method Description
OnStyleSet ( Gtk previous_style ) : void

Private Methods

Method 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 method

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

GrabNewTaskEntryFocus() public static method

public static GrabNewTaskEntryFocus ( GtkApplicationBase application ) : void
application GtkApplicationBase
return void

HighlightTask() public method

public HighlightTask ( ITask task ) : void
task ITask
return void

OnStyleSet() protected method

protected OnStyleSet ( Gtk previous_style ) : void
previous_style Gtk
return void

Reinitialize() public static method

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

SavePosition() public static method

public static SavePosition ( IPreferences preferences ) : void
preferences IPreferences
return void

ScrollToTask() public method

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 ///
return void

SelectAndEdit() public static method

public static SelectAndEdit ( ITask task, GtkApplicationBase application ) : void
task ITask
application GtkApplicationBase
return void

ShowOriginalStatus() public static method

public static ShowOriginalStatus ( ) : bool
return bool

ShowStatus() public static method

public static ShowStatus ( string statusText ) : void
statusText string
return void

ShowStatus() public static method

public static ShowStatus ( string statusText, uint dwellTime ) : void
statusText string
dwellTime uint
return void

ShowWindow() public static method

public static ShowWindow ( GtkApplicationBase application ) : void
application GtkApplicationBase
return void

TaskWindow() public method

public TaskWindow ( GtkApplicationBase application ) : System
application GtkApplicationBase
return System

ToggleWindowVisible() public static method

public static ToggleWindowVisible ( GtkApplicationBase application ) : void
application GtkApplicationBase
return void