static void Clear_cb(IntPtr inst) { try { ICellLayoutImplementor __obj = GLib.Object.GetObject(inst, false) as ICellLayoutImplementor; __obj.Clear(); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void AddAttribute_cb(IntPtr inst, IntPtr cell, IntPtr attribute, int column) { try { ICellLayoutImplementor __obj = GLib.Object.GetObject(inst, false) as ICellLayoutImplementor; __obj.AddAttribute(GLib.Object.GetObject(cell) as Gtk.CellRenderer, GLib.Marshaller.Utf8PtrToString(attribute), column); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void Reorder_cb(IntPtr inst, IntPtr cell, int position) { try { ICellLayoutImplementor __obj = GLib.Object.GetObject(inst, false) as ICellLayoutImplementor; __obj.Reorder(GLib.Object.GetObject(cell) as Gtk.CellRenderer, position); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void PackEnd_cb(IntPtr inst, IntPtr cell, bool expand) { try { ICellLayoutImplementor __obj = GLib.Object.GetObject(inst, false) as ICellLayoutImplementor; __obj.PackEnd(GLib.Object.GetObject(cell) as Gtk.CellRenderer, expand); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void ClearAttributes_cb(IntPtr inst, IntPtr cell) { try { ICellLayoutImplementor __obj = GLib.Object.GetObject(inst, false) as ICellLayoutImplementor; __obj.ClearAttributes(GLib.Object.GetObject(cell) as Gtk.CellRenderer); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
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); } }
public CellLayoutAdapter(ICellLayoutImplementor implementor) { if (implementor == null) { throw new ArgumentNullException("implementor"); } else if (!(implementor is GLib.Object)) { throw new ArgumentException("implementor must be a subclass of GLib.Object"); } this.implementor = implementor as GLib.Object; }
static IntPtr GetArea_cb(IntPtr inst) { try { ICellLayoutImplementor __obj = GLib.Object.GetObject(inst, false) as ICellLayoutImplementor; Gtk.CellArea __result; __result = __obj.Area; return(__result == null ? IntPtr.Zero : __result.Handle); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static IntPtr GetCells_cb(IntPtr inst) { try { ICellLayoutImplementor __obj = GLib.Object.GetObject(inst, false) as ICellLayoutImplementor; Gtk.CellRenderer[] __result; __result = __obj.Cells; return(new GLib.List(__result, typeof(Gtk.CellRenderer), true, false) == null ? IntPtr.Zero : new GLib.List(__result, typeof(Gtk.CellRenderer), true, false).Handle); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
public CellLayoutAdapter (ICellLayoutImplementor implementor) { if (implementor == null) throw new ArgumentNullException ("implementor"); else if (!(implementor is GLib.Object)) throw new ArgumentException ("implementor must be a subclass of GLib.Object"); this.implementor = implementor as GLib.Object; }