C# Class Xwt.GtkBackend.TreeViewBackend

Inheritance: TableViewBackend, ITreeViewBackend
Show file Open project: mono/xwt Class Usage Examples

Public Methods

Method Description
CollapseRow ( TreePosition pos ) : void
DisableEvent ( object eventId ) : void
EnableEvent ( object eventId ) : void
ExpandRow ( TreePosition pos, bool expandedChildren ) : void
ExpandToRow ( TreePosition pos ) : void
GetCellBounds ( TreePosition pos, CellView cell, bool includeMargin ) : Rectangle
GetDropTargetRow ( double x, double y, RowDropPosition &pos, TreePosition &nodePosition ) : bool
GetRowAtPosition ( System.Point p ) : TreePosition
GetRowBounds ( TreePosition pos, bool includeMargin ) : Rectangle
IsRowExpanded ( TreePosition pos ) : bool
IsRowSelected ( TreePosition pos ) : bool
ScrollToRow ( TreePosition pos ) : void
SelectRow ( TreePosition pos ) : void
SetCurrentEventRow ( string path ) : void
SetSource ( ITreeDataSource source, IBackend sourceBackend ) : void
UnselectRow ( TreePosition pos ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnSetDragSource ( Gdk modifierType, Gtk table, Gdk actions ) : void
OnSetDragStatus ( Gdk context, int x, int y, uint time, Gdk action ) : void
OnSetDragTarget ( Gtk table, Gdk actions ) : void

Private Methods

Method Description
HandleRowActivated ( object o, Gtk args ) : void
HandleRowCollapsed ( object o, Gtk args ) : void
HandleRowExpanded ( object o, Gtk args ) : void
HandleTestCollapseRow ( object o, Gtk args ) : void
HandleTestExpandRow ( object o, Gtk args ) : void

Method Details

CollapseRow() public method

public CollapseRow ( TreePosition pos ) : void
pos TreePosition
return void

DisableEvent() public method

public DisableEvent ( object eventId ) : void
eventId object
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EnableEvent() public method

public EnableEvent ( object eventId ) : void
eventId object
return void

ExpandRow() public method

public ExpandRow ( TreePosition pos, bool expandedChildren ) : void
pos TreePosition
expandedChildren bool
return void

ExpandToRow() public method

public ExpandToRow ( TreePosition pos ) : void
pos TreePosition
return void

GetCellBounds() public method

public GetCellBounds ( TreePosition pos, CellView cell, bool includeMargin ) : Rectangle
pos TreePosition
cell CellView
includeMargin bool
return Rectangle

GetDropTargetRow() public method

public GetDropTargetRow ( double x, double y, RowDropPosition &pos, TreePosition &nodePosition ) : bool
x double
y double
pos RowDropPosition
nodePosition TreePosition
return bool

GetRowAtPosition() public method

public GetRowAtPosition ( System.Point p ) : TreePosition
p System.Point
return TreePosition

GetRowBounds() public method

public GetRowBounds ( TreePosition pos, bool includeMargin ) : Rectangle
pos TreePosition
includeMargin bool
return Rectangle

IsRowExpanded() public method

public IsRowExpanded ( TreePosition pos ) : bool
pos TreePosition
return bool

IsRowSelected() public method

public IsRowSelected ( TreePosition pos ) : bool
pos TreePosition
return bool

OnSetDragSource() protected method

protected OnSetDragSource ( Gdk modifierType, Gtk table, Gdk actions ) : void
modifierType Gdk
table Gtk
actions Gdk
return void

OnSetDragStatus() protected method

protected OnSetDragStatus ( Gdk context, int x, int y, uint time, Gdk action ) : void
context Gdk
x int
y int
time uint
action Gdk
return void

OnSetDragTarget() protected method

protected OnSetDragTarget ( Gtk table, Gdk actions ) : void
table Gtk
actions Gdk
return void

ScrollToRow() public method

public ScrollToRow ( TreePosition pos ) : void
pos TreePosition
return void

SelectRow() public method

public SelectRow ( TreePosition pos ) : void
pos TreePosition
return void

SetCurrentEventRow() public method

public SetCurrentEventRow ( string path ) : void
path string
return void

SetSource() public method

public SetSource ( ITreeDataSource source, IBackend sourceBackend ) : void
source ITreeDataSource
sourceBackend IBackend
return void

UnselectRow() public method

public UnselectRow ( TreePosition pos ) : void
pos TreePosition
return void