C# Class Xwt.Mac.WidgetView

Handles Events generated by NSView and TrackingArea and dispatches these using context and eventSink
Inheritance: MonoMac.AppKit.NSView, IViewObject
Show file Open project: TheBrainTech/xwt Class Usage Examples

Protected Properties

Property Type Description
context Xwt.Backends.ApplicationContext

Public Methods

Method Description
DrawRect ( System.Drawing.RectangleF dirtyRect ) : void
KeyDown ( NSEvent theEvent ) : void
KeyUp ( NSEvent theEvent ) : void
MouseDown ( NSEvent theEvent ) : void
MouseDragged ( NSEvent theEvent ) : void
MouseEntered ( NSEvent theEvent ) : void
MouseExited ( NSEvent theEvent ) : void
MouseMoved ( NSEvent theEvent ) : void
MouseUp ( NSEvent theEvent ) : void
ResetCursorRects ( ) : void
RightMouseDown ( NSEvent theEvent ) : void
RightMouseUp ( NSEvent theEvent ) : void
SetFrameSize ( System.Drawing.SizeF newSize ) : void
UpdateTrackingAreas ( ) : void
WidgetView ( IWidgetEventSink eventSink, Xwt.Backends.ApplicationContext context ) : System

Method Details

DrawRect() public method

public DrawRect ( System.Drawing.RectangleF dirtyRect ) : void
dirtyRect System.Drawing.RectangleF
return void

KeyDown() public method

public KeyDown ( NSEvent theEvent ) : void
theEvent NSEvent
return void

KeyUp() public method

public KeyUp ( NSEvent theEvent ) : void
theEvent NSEvent
return void

MouseDown() public method

public MouseDown ( NSEvent theEvent ) : void
theEvent NSEvent
return void

MouseDragged() public method

public MouseDragged ( NSEvent theEvent ) : void
theEvent NSEvent
return void

MouseEntered() public method

public MouseEntered ( NSEvent theEvent ) : void
theEvent NSEvent
return void

MouseExited() public method

public MouseExited ( NSEvent theEvent ) : void
theEvent NSEvent
return void

MouseMoved() public method

public MouseMoved ( NSEvent theEvent ) : void
theEvent NSEvent
return void

MouseUp() public method

public MouseUp ( NSEvent theEvent ) : void
theEvent NSEvent
return void

ResetCursorRects() public method

public ResetCursorRects ( ) : void
return void

RightMouseDown() public method

public RightMouseDown ( NSEvent theEvent ) : void
theEvent NSEvent
return void

RightMouseUp() public method

public RightMouseUp ( NSEvent theEvent ) : void
theEvent NSEvent
return void

SetFrameSize() public method

public SetFrameSize ( System.Drawing.SizeF newSize ) : void
newSize System.Drawing.SizeF
return void

UpdateTrackingAreas() public method

public UpdateTrackingAreas ( ) : void
return void

WidgetView() public method

public WidgetView ( IWidgetEventSink eventSink, Xwt.Backends.ApplicationContext context ) : System
eventSink IWidgetEventSink
context Xwt.Backends.ApplicationContext
return System

Property Details

context protected property

protected ApplicationContext,Xwt.Backends context
return Xwt.Backends.ApplicationContext