public ActivatableAdapter (IActivatableImplementor 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; }
static void SyncActionProperties_cb(IntPtr inst, IntPtr action) { try { IActivatableImplementor __obj = GLib.Object.GetObject(inst, false) as IActivatableImplementor; __obj.SyncActionProperties(GLib.Object.GetObject(action) as Gtk.Action); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
public ActivatableAdapter(IActivatableImplementor 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; }