static void SetRowDescription_cb(IntPtr inst, int row, IntPtr description) { try { ITableImplementor __obj = GLib.Object.GetObject(inst, false) as ITableImplementor; __obj.SetRowDescription(row, GLib.Marshaller.Utf8PtrToString(description)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void SetColumnHeader_cb(IntPtr inst, int column, IntPtr header) { try { ITableImplementor __obj = GLib.Object.GetObject(inst, false) as ITableImplementor; __obj.SetColumnHeader(column, GLib.Object.GetObject(header) as Atk.Object); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void SetCaption_cb(IntPtr inst, IntPtr caption) { try { ITableImplementor __obj = GLib.Object.GetObject(inst, false) as ITableImplementor; __obj.Caption = GLib.Object.GetObject(caption) as Atk.Object; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
public TableAdapter(ITableImplementor 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 RefAt_cb(IntPtr inst, int row, int column) { try { ITableImplementor __obj = GLib.Object.GetObject(inst, false) as ITableImplementor; Atk.Object __result; __result = __obj.RefAt(row, column); return(__result == null ? IntPtr.Zero : __result.OwnedHandle); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static bool RemoveColumnSelection_cb(IntPtr inst, int column) { try { ITableImplementor __obj = GLib.Object.GetObject(inst, false) as ITableImplementor; bool __result; __result = __obj.RemoveColumnSelection(column); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static int GetSelectedRows_cb(IntPtr inst, out int selected) { try { ITableImplementor __obj = GLib.Object.GetObject(inst, false) as ITableImplementor; int __result; __result = __obj.GetSelectedRows(out selected); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static IntPtr GetSummary_cb(IntPtr inst) { try { ITableImplementor __obj = GLib.Object.GetObject(inst, false) as ITableImplementor; Atk.Object __result; __result = __obj.Summary; 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 GetRowDescription_cb(IntPtr inst, int row) { try { ITableImplementor __obj = GLib.Object.GetObject(inst, false) as ITableImplementor; string __result; __result = __obj.GetRowDescription(row); return(GLib.Marshaller.StringToPtrGStrdup(__result)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static int GetRowExtentAt_cb(IntPtr inst, int row, int column) { try { ITableImplementor __obj = GLib.Object.GetObject(inst, false) as ITableImplementor; int __result; __result = __obj.GetRowExtentAt(row, column); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
public TableAdapter (ITableImplementor 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; }