Ejemplo n.º 1
0
 static void SetCellDataFunc_cb(IntPtr inst, IntPtr cell, GtkSharp.CellLayoutDataFuncNative func, IntPtr func_data, GLib.DestroyNotify destroy)
 {
     try {
         ICellLayoutImplementor             __obj        = GLib.Object.GetObject(inst, false) as ICellLayoutImplementor;
         GtkSharp.CellLayoutDataFuncInvoker func_invoker = new GtkSharp.CellLayoutDataFuncInvoker(func, func_data, destroy);
         __obj.SetCellDataFunc(GLib.Object.GetObject(cell) as Gtk.CellRenderer, func_invoker.Handler);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
Ejemplo n.º 2
0
		static void SetCellDataFunc_cb (IntPtr inst, IntPtr cell, GtkSharp.CellLayoutDataFuncNative func, IntPtr func_data, GLib.DestroyNotify destroy)
		{
			try {
				ICellLayoutImplementor __obj = GLib.Object.GetObject (inst, false) as ICellLayoutImplementor;
				GtkSharp.CellLayoutDataFuncInvoker func_invoker = new GtkSharp.CellLayoutDataFuncInvoker (func, func_data, destroy);
				__obj.SetCellDataFunc (GLib.Object.GetObject(cell) as Gtk.CellRenderer, func_invoker.Handler);
			} catch (Exception e) {
				GLib.ExceptionManager.RaiseUnhandledException (e, false);
			}
		}