예제 #1
0
 static IntPtr CreateMenu_cb(IntPtr inst)
 {
     try {
         Action     __obj = GLib.Object.GetObject(inst, false) as Action;
         Gtk.Widget __result;
         __result = __obj.OnCreateMenu();
         return(__result == null ? IntPtr.Zero : __result.Handle);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }