public TableCellAdapter(ITableCellImplementor 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 int GetRowSpan_cb(IntPtr inst) { try { ITableCellImplementor __obj = GLib.Object.GetObject(inst, false) as ITableCellImplementor; int __result; __result = __obj.RowSpan; return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static bool GetPosition_cb(IntPtr inst, out int row, out int column) { try { ITableCellImplementor __obj = GLib.Object.GetObject(inst, false) as ITableCellImplementor; bool __result; __result = __obj.GetPosition(out row, out column); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static IntPtr GetColumnHeaderCells_cb(IntPtr inst) { try { ITableCellImplementor __obj = GLib.Object.GetObject(inst, false) as ITableCellImplementor; GLib.PtrArray __result; __result = __obj.ColumnHeaderCells; return(__result == null ? IntPtr.Zero : __result.Handle); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }