C# Class Tomboy.NoteRecentChanges

Inheritance: ForcedPresentWindow
Datei anzeigen Open project: GNOME/tomboy Class Usage Examples

Public Methods

Method Description
GetFilteredNotes ( ) : List
GetInstance ( NoteManager manager ) : NoteRecentChanges
GetNote ( Gtk iter ) : Note
GetSelectedNotebook ( ) : Tomboy.Notebooks.Notebook

Returns the currently selected notebook in the "Search All Notes Window".

Present ( ) : void

Protected Methods

Method Description
NoteRecentChanges ( NoteManager manager ) : System
OnShown ( ) : void

Private Methods

Method Description
AddMatchesColumn ( ) : void
AddToPreviousSearches ( string text ) : void
ClearSearchClicked ( object sender, EventArgs args ) : void
CompareDates ( Gtk model, Gtk a, Gtk b ) : int
CompareSearchHits ( Gtk model, Gtk a, Gtk b ) : int
CompareTitles ( Gtk model, Gtk a, Gtk b ) : int
CreateMenuBar ( ) : Gtk.MenuBar
EntryChangedTimeout ( object sender, EventArgs args ) : void
FilterBySearch ( Note note ) : bool

Return true if the specified note should be shown in the list based on the search string. If no search string is specified, all notes should be allowed.

FilterByTag ( Note note ) : bool

Return true if the specified note should be shown in the list based on the current selection of tags. If no tags are selected, all notes should be allowed.

FilterNotes ( Gtk model, Gtk iter ) : bool

Filter out notes based on the current search string and selected tags. Also prevent template notes from appearing.

FilterTags ( Gtk model, Gtk iter ) : bool
GetSelectedNotes ( ) : List
GetWidgetScreenPos ( Gtk widget, int &x, int &y ) : void
MakeNotebooksPane ( ) : Gtk.Widget
MakeRecentTree ( ) : void
MatchesColumnDataFunc ( Gtk column, Gtk cell, Gtk model, Gtk iter ) : void
NoMatchesFoundAction ( ) : void
NoteRecentChanges ( ) : System
NotebookPixbufCellDataFunc ( Gtk treeColumn, Gtk renderer, Gtk model, Gtk iter ) : void
NotebookTextCellDataFunc ( Gtk treeColumn, Gtk renderer, Gtk model, Gtk iter ) : void
OnCaseSensitiveToggled ( object sender, EventArgs args ) : void
OnCloseWindow ( object sender, EventArgs args ) : void
OnDelete ( object sender, Gtk args ) : void
OnDeleteNote ( object sender, EventArgs args ) : void
OnDeleteNotebook ( object sender, EventArgs args ) : void
OnEntryActivated ( object sender, EventArgs args ) : void
OnEntryChanged ( object sender, EventArgs args ) : void
OnEntryFocusIn ( object sender, EventArgs args ) : void
OnExitingEvent ( object sender, EventArgs args ) : void
OnKeyPressed ( object sender, Gtk args ) : void
OnNewNotebook ( object sender, EventArgs args ) : void
OnNewNotebookNote ( object sender, EventArgs args ) : void
OnNoteAddedToNotebook ( Note note, Notebooks notebook ) : void
OnNoteRemovedFromNotebook ( Note note, Notebooks notebook ) : void
OnNoteRenamed ( Note note, string old_title ) : void
OnNoteSaved ( Note note ) : void
OnNotebookRowActivated ( object sender, Gtk args ) : void
OnNotebookRowEdited ( object sender, Gtk args ) : void
OnNotebookSelectionChanged ( object sender, EventArgs args ) : void
OnNotebooksFocusIn ( object sender, EventArgs args ) : void
OnNotebooksKeyPressed ( object sender, Gtk args ) : void
OnNotebooksTreeButtonPressed ( object sender, Gtk args ) : void
OnNotesChanged ( object sender, Note changed ) : void
OnNotesDeleted ( object sender, Note deleted ) : void
OnOpenNote ( object sender, EventArgs args ) : void
OnOpenNotebookTemplateNote ( object sender, EventArgs args ) : void
OnRowActivated ( object sender, Gtk args ) : void
OnSelectionChanged ( object sender, EventArgs args ) : void
OnTreeViewButtonPressed ( object sender, Gtk args ) : void
OnTreeViewButtonReleased ( object sender, Gtk args ) : void
OnTreeViewDragDataGet ( object sender, Gtk args ) : void
OnTreeViewKeyPressed ( object sender, Gtk args ) : void
OnTreeViewMotionNotify ( object sender, Gtk args ) : void
PerformSearch ( ) : void
PopupContextMenuAtLocation ( Gtk menu, int x, int y ) : void
PositionContextMenu ( Gtk menu, int &x, int &y, bool &push_in ) : void
RemoveMatchesColumn ( ) : void
RestoreMatchesWindow ( ) : void
RestorePosition ( ) : void
SavePosition ( ) : void

Save the position and size of the RecentChanges window

ScrollToIter ( Gtk tree, Gtk iter ) : void
SelectAllNotesNotebook ( ) : void
SelectNotes ( List notes ) : void
ShowAllSearchResults ( Gtk button, String param ) : void
UpdateMatchNoteCount ( int matches ) : void
UpdateResults ( ) : void
UpdateTotalNoteCount ( int total ) : void

Method Details

GetFilteredNotes() public method

public GetFilteredNotes ( ) : List
return List

GetInstance() public static method

public static GetInstance ( NoteManager manager ) : NoteRecentChanges
manager NoteManager
return NoteRecentChanges

GetNote() public method

public GetNote ( Gtk iter ) : Note
iter Gtk
return Note

GetSelectedNotebook() public method

Returns the currently selected notebook in the "Search All Notes Window".
public GetSelectedNotebook ( ) : Tomboy.Notebooks.Notebook
return Tomboy.Notebooks.Notebook

NoteRecentChanges() protected method

protected NoteRecentChanges ( NoteManager manager ) : System
manager NoteManager
return System

OnShown() protected method

protected OnShown ( ) : void
return void

Present() public method

public Present ( ) : void
return void