C# Class Xwt.GtkBackend.TableViewBackend

Inheritance: WidgetBackend, ICellRendererTarget
Show file Open project: mono/xwt

Private Properties

Property Type Description
HandleWidgetSelectionChanged void
ICellRendererTarget Rectangle
MapColumn void
MapTitle void

Public Methods

Method Description
AddAttribute ( object target, Gtk cr, string field, int col ) : void
AddColumn ( ListViewColumn col ) : object
CreateHorizontalScrollControl ( ) : IScrollControlBackend
CreateVerticalScrollControl ( ) : IScrollControlBackend
DisableEvent ( object eventId ) : void
EnableEvent ( object eventId ) : void
GetCellPosition ( Gtk r, int ex, int ey, int &cx, int &cy, Gtk &it ) : bool
PackEnd ( object target, Gtk cr, bool expand ) : void
PackStart ( object target, Gtk cr, bool expand ) : void
QueueDraw ( object target, Gtk iter ) : void
RemoveColumn ( ListViewColumn col, object handle ) : void
ScrollToRow ( TreeIter pos ) : void
SelectAll ( ) : void
SetCellDataFunc ( object target, Gtk cr, Gtk dataFunc ) : void
SetCurrentEventRow ( string path ) : void
SetSelectionMode ( SelectionMode mode ) : void
TableViewBackend ( )
UnselectAll ( ) : void
UpdateColumn ( ListViewColumn col, object handle, ListViewColumnChange change ) : void

Protected Methods

Method Description
GetButtonPressEventArgs ( ButtonPressEventArgs args ) : ButtonEventArgs
GetButtonReleaseEventArgs ( ButtonReleaseEventArgs args ) : ButtonEventArgs
GetCellColumn ( CellView cell ) : Gtk.TreeViewColumn
GetCellRenderer ( CellView cell ) : Gtk.CellRenderer
GetMouseMovedEventArgs ( MotionNotifyEventArgs args ) : MouseMovedEventArgs
GetPathAtPosition ( System.Point p ) : Gtk.TreePath
GetRowBackgroundBounds ( Gtk iter ) : Rectangle
GetRowBounds ( Gtk iter ) : Rectangle
OnSetBackgroundColor ( Xwt color ) : void

Private Methods

Method Description
HandleWidgetSelectionChanged ( object sender, EventArgs e ) : void
ICellRendererTarget ( object target, Gtk cra, Gtk iter ) : Rectangle
MapColumn ( ListViewColumn col, Gtk tc ) : void
MapTitle ( ListViewColumn col, Gtk tc ) : void

Method Details

AddAttribute() public method

public AddAttribute ( object target, Gtk cr, string field, int col ) : void
target object
cr Gtk
field string
col int
return void

AddColumn() public method

public AddColumn ( ListViewColumn col ) : object
col ListViewColumn
return object

CreateHorizontalScrollControl() public method

public CreateHorizontalScrollControl ( ) : IScrollControlBackend
return IScrollControlBackend

CreateVerticalScrollControl() public method

public CreateVerticalScrollControl ( ) : IScrollControlBackend
return IScrollControlBackend

DisableEvent() public method

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

EnableEvent() public method

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

GetButtonPressEventArgs() protected method

protected GetButtonPressEventArgs ( ButtonPressEventArgs args ) : ButtonEventArgs
args ButtonPressEventArgs
return ButtonEventArgs

GetButtonReleaseEventArgs() protected method

protected GetButtonReleaseEventArgs ( ButtonReleaseEventArgs args ) : ButtonEventArgs
args ButtonReleaseEventArgs
return ButtonEventArgs

GetCellColumn() protected method

protected GetCellColumn ( CellView cell ) : Gtk.TreeViewColumn
cell CellView
return Gtk.TreeViewColumn

GetCellPosition() public method

public GetCellPosition ( Gtk r, int ex, int ey, int &cx, int &cy, Gtk &it ) : bool
r Gtk
ex int
ey int
cx int
cy int
it Gtk
return bool

GetCellRenderer() protected method

protected GetCellRenderer ( CellView cell ) : Gtk.CellRenderer
cell CellView
return Gtk.CellRenderer

GetMouseMovedEventArgs() protected method

protected GetMouseMovedEventArgs ( MotionNotifyEventArgs args ) : MouseMovedEventArgs
args MotionNotifyEventArgs
return MouseMovedEventArgs

GetPathAtPosition() protected method

protected GetPathAtPosition ( System.Point p ) : Gtk.TreePath
p System.Point
return Gtk.TreePath

GetRowBackgroundBounds() protected method

protected GetRowBackgroundBounds ( Gtk iter ) : Rectangle
iter Gtk
return Rectangle

GetRowBounds() protected method

protected GetRowBounds ( Gtk iter ) : Rectangle
iter Gtk
return Rectangle

OnSetBackgroundColor() protected method

protected OnSetBackgroundColor ( Xwt color ) : void
color Xwt
return void

PackEnd() public method

public PackEnd ( object target, Gtk cr, bool expand ) : void
target object
cr Gtk
expand bool
return void

PackStart() public method

public PackStart ( object target, Gtk cr, bool expand ) : void
target object
cr Gtk
expand bool
return void

QueueDraw() public method

public QueueDraw ( object target, Gtk iter ) : void
target object
iter Gtk
return void

RemoveColumn() public method

public RemoveColumn ( ListViewColumn col, object handle ) : void
col ListViewColumn
handle object
return void

ScrollToRow() public method

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

SelectAll() public method

public SelectAll ( ) : void
return void

SetCellDataFunc() public method

public SetCellDataFunc ( object target, Gtk cr, Gtk dataFunc ) : void
target object
cr Gtk
dataFunc Gtk
return void

SetCurrentEventRow() public method

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

SetSelectionMode() public method

public SetSelectionMode ( SelectionMode mode ) : void
mode SelectionMode
return void

TableViewBackend() public method

public TableViewBackend ( )

UnselectAll() public method

public UnselectAll ( ) : void
return void

UpdateColumn() public method

public UpdateColumn ( ListViewColumn col, object handle, ListViewColumnChange change ) : void
col ListViewColumn
handle object
change ListViewColumnChange
return void