コード例 #1
0
 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);
     }
 }
コード例 #2
0
 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);
     }
 }
コード例 #3
0
 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;
     }
 }