C# Class Gtk.Tasque.NoteWidget

Inheritance: Gtk.Notebook
Datei anzeigen Open project: GNOME/tasque Class Usage Examples

Public Methods

Method Description
FocusTextArea ( ) : void
NoteWidget ( INote note ) : System

Private Methods

Method Description
MakeEditPage ( ) : Gtk.Widget
MakeViewPage ( ) : Gtk.Widget
OnDeleteButtonClicked ( object sender, EventArgs args ) : void
OnEditButtonClicked ( object sender, EventArgs args ) : void
OnEditCanceled ( object sender, EventArgs args ) : void
OnNoteWidgetKeyPressed ( object o, Gtk.KeyPressEventArgs args ) : void
OnSaveButtonClicked ( object sender, EventArgs args ) : void
OnTextViewChanged ( object sender, EventArgs args ) : void
ShowEditPage ( ) : void
ShowPage ( int pageNum ) : void

This is a custom method to show and hide the different notebook pages. The reason for this is to specifically be able to hide/show each notebook's widgets properly so that the notebook can shrink and grow without taking up too much space in the window.

ShowViewPage ( ) : void

Method Details

FocusTextArea() public method

public FocusTextArea ( ) : void
return void

NoteWidget() public method

public NoteWidget ( INote note ) : System
note INote
return System