internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgOptionCallback obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public void traverseOptions(MgOptionCallback c) { touchvgPINVOKE.GiCoreView_traverseOptions(swigCPtr, MgOptionCallback.getCPtr(c)); }
public static extern void MgOptionCallback_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, MgOptionCallback.SwigDelegateMgOptionCallback_0 delegate0, MgOptionCallback.SwigDelegateMgOptionCallback_1 delegate1, MgOptionCallback.SwigDelegateMgOptionCallback_2 delegate2, MgOptionCallback.SwigDelegateMgOptionCallback_3 delegate3);
//! 以自定义类型(例如Json类)遍历选项 public void GetOptions(MgOptionCallback c) { CoreView.traverseOptions(c); c.onGetOptionBool("contextActionEnabled", View.ContextActionEnabled); c.onGetOptionBool("zoomEnabled", ZoomEnabled); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgOptionCallback obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }