C# Class LongoMatch.Gui.Component.ListTreeViewBase

Inheritance: Gtk.TreeView
Show file Open project: LongoMatch/longomatch

Protected Properties

Property Type Description
childModel Gtk.TreeStore
editing bool
enableCategoryMove bool
modelFilter Gtk.TreeModelFilter
modelSort Gtk.TreeModelSort
playsMenu LongoMatch.Gui.Menus.SportsPlaysMenu

Public Methods

Method Description
ListTreeViewBase ( ) : System
Refilter ( ) : void

Protected Methods

Method Description
FilterFunction ( TreeModel model, Gtk.TreeIter iter ) : bool
GetValueFromPath ( Gtk.TreePath path ) : object
HandleEditPlayEvent ( object sender, EventArgs e ) : void
OnFilterUpdated ( ) : void
OnTreeviewRowActivated ( object o, Gtk args ) : void
RenderElement ( Gtk.TreeViewColumn column, Gtk.CellRenderer cell, TreeModel model, Gtk.TreeIter iter ) : void
SelectFunction ( Gtk.TreeSelection selection, TreeModel model, Gtk.TreePath path, bool selected ) : bool
ShowMenu ( ) : void
SortFunction ( TreeModel model, Gtk.TreeIter a, Gtk.TreeIter b ) : int

Method Details

FilterFunction() protected method

protected FilterFunction ( TreeModel model, Gtk.TreeIter iter ) : bool
model TreeModel
iter Gtk.TreeIter
return bool

GetValueFromPath() protected method

protected GetValueFromPath ( Gtk.TreePath path ) : object
path Gtk.TreePath
return object

HandleEditPlayEvent() protected method

protected HandleEditPlayEvent ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

ListTreeViewBase() public method

public ListTreeViewBase ( ) : System
return System

OnFilterUpdated() protected method

protected OnFilterUpdated ( ) : void
return void

OnTreeviewRowActivated() protected method

protected OnTreeviewRowActivated ( object o, Gtk args ) : void
o object
args Gtk
return void

Refilter() public method

public Refilter ( ) : void
return void

RenderElement() protected method

protected RenderElement ( Gtk.TreeViewColumn column, Gtk.CellRenderer cell, TreeModel model, Gtk.TreeIter iter ) : void
column Gtk.TreeViewColumn
cell Gtk.CellRenderer
model TreeModel
iter Gtk.TreeIter
return void

SelectFunction() protected abstract method

protected abstract SelectFunction ( Gtk.TreeSelection selection, TreeModel model, Gtk.TreePath path, bool selected ) : bool
selection Gtk.TreeSelection
model TreeModel
path Gtk.TreePath
selected bool
return bool

ShowMenu() protected method

protected ShowMenu ( ) : void
return void

SortFunction() protected abstract method

protected abstract SortFunction ( TreeModel model, Gtk.TreeIter a, Gtk.TreeIter b ) : int
model TreeModel
a Gtk.TreeIter
b Gtk.TreeIter
return int

Property Details

childModel protected property

protected TreeStore,Gtk childModel
return Gtk.TreeStore

editing protected property

protected bool editing
return bool

enableCategoryMove protected property

protected bool enableCategoryMove
return bool

modelFilter protected property

protected TreeModelFilter,Gtk modelFilter
return Gtk.TreeModelFilter

modelSort protected property

protected TreeModelSort,Gtk modelSort
return Gtk.TreeModelSort

playsMenu protected property

protected SportsPlaysMenu,LongoMatch.Gui.Menus playsMenu
return LongoMatch.Gui.Menus.SportsPlaysMenu