Ejemplo n.º 1
0
		public HyperlinkImplAdapter (IHyperlinkImplImplementor 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;
		}
Ejemplo n.º 2
0
 public HyperlinkImplAdapter(IHyperlinkImplImplementor 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;
 }
Ejemplo n.º 3
0
 static IntPtr GetHyperlink_cb(IntPtr inst)
 {
     try {
         IHyperlinkImplImplementor __obj = GLib.Object.GetObject(inst, false) as IHyperlinkImplImplementor;
         Atk.Hyperlink             __result;
         __result = __obj.Hyperlink;
         return(__result == null ? IntPtr.Zero : __result.Handle);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }