static void Allocate_cb(IntPtr inst, int width, int height)
 {
     try {
         CellAreaContext __obj = GLib.Object.GetObject(inst, false) as CellAreaContext;
         __obj.OnAllocate(width, height);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
 static void Reset_cb(IntPtr inst)
 {
     try {
         CellAreaContext __obj = GLib.Object.GetObject(inst, false) as CellAreaContext;
         __obj.OnReset();
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
 static void GetPreferredWidthForHeight_cb(IntPtr inst, int height, out int minimum_width, out int natural_width)
 {
     try {
         CellAreaContext __obj = GLib.Object.GetObject(inst, false) as CellAreaContext;
         __obj.OnGetPreferredWidthForHeight(height, out minimum_width, out natural_width);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }