public TableTest() { frame = GetFrame ("gtktreeview.py"); treeTable = FindByRole (frame, Role.TreeTable, true); Assert.IsNotNull (treeTable, "Couldn't find the tree table"); table = treeTable.QueryTable (); Assert.IsNotNull (table, "menuBar.QueryTable"); }
public TableElement (Accessible accessible) : base (accessible) { header = null; table = accessible.QueryTable (); RefreshTreeMode (true); accessible.ObjectEvents.RowInserted += OnRowInserted; accessible.ObjectEvents.RowDeleted += OnRowDeleted; AddEvents (false); }
private static bool IsTable (Accessible accessible) { if (accessible.Role == Role.Table) return true; if (accessible.Role != Role.TreeTable) return false; Atspi.Table table = accessible.QueryTable (); return (table != null); }
public DataItemGridItemSource (DataItemElement element) { this.element = element; accessible = element.Accessible; table = accessible.QueryTable (); }
public GridSource (Element element) { accessible = element.Accessible; table = accessible.QueryTable (); }