Inheritance: Responder
示例#1
0
 public bool DragColor( Color aColor, Event aEvent, View aView )
 {
     return (bool) ObjCMessaging.objc_msgSend(NativeObject, "dragColor:withEvent:fromView:",
         typeof (System.Boolean),                 // return value
         typeof (IntPtr), aColor.NativeObject,    // dragColor:
         typeof (IntPtr), aEvent.NativeObject,    // withEvent:
         typeof (IntPtr), aView.NativeObject );  // fromView:
 }
示例#2
0
 public void InvalidateCursorRectsForView( View aView )
 {
     ObjCMessaging.objc_msgSend (NativeObject, "invalidateCursorRectsForView:", typeof (void), typeof (IntPtr), aView.NativeObject);
 }
示例#3
0
文件: View.cs 项目: mono/cocoa-sharp
 /// <summary>
 ///
 /// </summary>
 /// <param name"aPoint"></param>
 /// <oaran name="aView"></param>
 /// <return></return>
 public Point ConvertPointFromView( Point aPoint, View aView )
 {
     return (Point)ObjCMessaging.objc_msgSend (
         NativeObject, "convertPoint:fromView:",
         typeof (Point),                            // return value type
         typeof (Point), aPoint,                    // 1st arg
         typeof (IntPtr), aView.NativeObject );     // 2nd arg
 }
示例#4
0
文件: View.cs 项目: mono/cocoa-sharp
 public void AddSubview(View view)
 {
     ObjCMessaging.objc_msgSend (NativeObject, "addSubview:", typeof (void), typeof (IntPtr), view.NativeObject);
 }