static void SetSummaryCallback(IntPtr table, IntPtr accessible) { try { Atk.TableImplementor __obj = GLib.Object.GetObject(table, false) as Atk.TableImplementor; __obj.Summary = GLib.Object.GetObject(accessible) as Atk.Object; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void SetRowHeaderCallback(IntPtr table, int row, IntPtr header) { try { Atk.TableImplementor __obj = GLib.Object.GetObject(table, false) as Atk.TableImplementor; __obj.SetRowHeader(row, GLib.Object.GetObject(header) as Atk.Object); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void SetRowDescriptionCallback(IntPtr table, int row, IntPtr description) { try { Atk.TableImplementor __obj = GLib.Object.GetObject(table, false) as Atk.TableImplementor; __obj.SetRowDescription(row, GLib.Marshaller.Utf8PtrToString(description)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void SetCaptionCallback(IntPtr table, IntPtr caption) { try { Atk.TableImplementor __obj = GLib.Object.GetObject(table, false) as Atk.TableImplementor; __obj.Caption = GLib.Object.GetObject(caption) as Atk.Object; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static IntPtr RefAtCallback(IntPtr table, int row, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject(table, false) as Atk.TableImplementor; Atk.Object __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 RemoveColumnSelectionCallback(IntPtr table, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject(table, false) as Atk.TableImplementor; bool __result = __obj.RemoveColumnSelection(column); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static IntPtr GetRowDescriptionCallback(IntPtr table, int row) { try { Atk.TableImplementor __obj = GLib.Object.GetObject(table, false) as Atk.TableImplementor; string __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 GetRowExtentAtCallback(IntPtr table, int row, int column) { try { Atk.TableImplementor __obj = GLib.Object.GetObject(table, false) as Atk.TableImplementor; int __result = __obj.GetRowExtentAt(row, column); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static int GetSelectedRowsCallback(IntPtr table, out IntPtr selected_ptr) { try { Atk.TableImplementor __obj = GLib.Object.GetObject(table, false) as Atk.TableImplementor; int [] selected = __obj.SelectedRows; if (selected.Length > 0) { selected_ptr = GLib.Marshaller.Malloc((ulong)(sizeof(int) * selected.Length)); Marshal.Copy(selected, 0, selected_ptr, selected.Length); } else { selected_ptr = IntPtr.Zero; } return(selected.Length); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }