C# 클래스 Tasque.TaskGroup

A TaskGroup is a Widget that represents a grouping of tasks that are shown in the TaskWindow. For example, "Overdue", "Today", "Tomorrow", etc.
상속: Gtk.VBox
파일 보기 프로젝트 열기: GNOME/tasque 1 사용 예제들

공개 메소드들

메소드 설명
ContainsTask ( ITask task, Gtk &iter ) : bool

Convenience method to determine whether the specified task is currently shown in this TaskGroup.

EnterEditMode ( ITask task, Gtk iter ) : void
GetIterIndex ( Gtk iter ) : int
GetIterPos ( Gtk iter ) : int
GetNChildren ( Gtk iter ) : int
Refilter ( ITaskList selectedTaskList ) : void
TaskGroup ( string groupName, System.DateTime rangeStart, System.DateTime rangeEnd, ICollection tasks, GtkApplicationBase application ) : System

보호된 메소드들

메소드 설명
CreateModel ( System.DateTime rangeStart, System.DateTime rangeEnd, ICollection tasks ) : TreeModel
OnRealized ( ) : void
OnStyleSet ( Gtk.Style previous_style ) : void

비공개 메소드들

메소드 설명
GetHeaderMarkup ( string groupName ) : string
GetHighlightColor ( ) : string

This returns the current highlight color from the GTK theme

GetSelectedTaskList ( ) : ITaskList

This returns the currently selected taskList. TODO: This should really be moved as a method Application or or something.

OnButtonPressed ( object sender, Gtk args ) : void
OnNumberOfTasksChanged ( object sender, EventArgs args ) : void
OnRowActivated ( object sender, Gtk args ) : void
Refilter ( ) : void

Refilter the hard way by discovering the taskList to filter on

메소드 상세

ContainsTask() 공개 메소드

Convenience method to determine whether the specified task is currently shown in this TaskGroup.
public ContainsTask ( ITask task, Gtk &iter ) : bool
task ITask /// A ///
iter Gtk /// A ///
리턴 bool

CreateModel() 보호된 메소드

protected CreateModel ( System.DateTime rangeStart, System.DateTime rangeEnd, ICollection tasks ) : TreeModel
rangeStart System.DateTime
rangeEnd System.DateTime
tasks ICollection
리턴 TreeModel

EnterEditMode() 공개 메소드

public EnterEditMode ( ITask task, Gtk iter ) : void
task ITask
iter Gtk
리턴 void

GetIterIndex() 공개 메소드

public GetIterIndex ( Gtk iter ) : int
iter Gtk
리턴 int

GetIterPos() 공개 메소드

public GetIterPos ( Gtk iter ) : int
iter Gtk
리턴 int

GetNChildren() 공개 메소드

public GetNChildren ( Gtk iter ) : int
iter Gtk
리턴 int

OnRealized() 보호된 메소드

protected OnRealized ( ) : void
리턴 void

OnStyleSet() 보호된 메소드

protected OnStyleSet ( Gtk.Style previous_style ) : void
previous_style Gtk.Style
리턴 void

Refilter() 공개 메소드

public Refilter ( ITaskList selectedTaskList ) : void
selectedTaskList ITaskList
리턴 void

TaskGroup() 공개 메소드

public TaskGroup ( string groupName, System.DateTime rangeStart, System.DateTime rangeEnd, ICollection tasks, GtkApplicationBase application ) : System
groupName string
rangeStart System.DateTime
rangeEnd System.DateTime
tasks ICollection
application Gtk.Tasque.GtkApplicationBase
리턴 System