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); } }
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; }
public NodeCellDataFuncWrapper(NodeCellDataFunc managed) { NativeDelegate = new GtkSharp.CellLayoutDataFuncNative(NativeCallback); this.managed = managed; }