static void SendEvent_cb(IntPtr inst, IntPtr structure) { try { INavigationImplementor __obj = GLib.Object.GetObject(inst, false) as INavigationImplementor; __obj.SendEvent(structure == IntPtr.Zero ? null : (Gst.Structure)GLib.Opaque.GetOpaque(structure, typeof(Gst.Structure), false)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
public NavigationAdapter(INavigationImplementor implementor) { if (implementor == null) { throw new ArgumentNullException("implementor"); } else if (!(implementor is GLib.Object)) { throw new ArgumentException("implementor must be a subclass of GLib.Object"); } this.implementor = implementor as GLib.Object; }