示例#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);
     }
 }
示例#2
0
 static extern void gtk_cell_layout_set_cell_data_func(IntPtr raw, IntPtr cell, GtkSharp.CellLayoutDataFuncNative func, IntPtr func_data, GLib.DestroyNotify destroy);
		public NodeCellDataFuncWrapper (NodeCellDataFunc managed)
		{
			NativeDelegate = new GtkSharp.CellLayoutDataFuncNative (NativeCallback);
			this.managed = managed;
		}
示例#4
0
 public NodeCellDataFuncWrapper(NodeCellDataFunc managed)
 {
     NativeDelegate = new GtkSharp.CellLayoutDataFuncNative(NativeCallback);
     this.managed   = managed;
 }