QueryTable() public method

public QueryTable ( ) : Table
return Table
Ejemplo n.º 1
0
        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");
        }
Ejemplo n.º 2
0
		public TableElement (Accessible accessible) : base (accessible)
		{
			header = null;
			table = accessible.QueryTable ();
			RefreshTreeMode (true);
			accessible.ObjectEvents.RowInserted += OnRowInserted;
			accessible.ObjectEvents.RowDeleted += OnRowDeleted;
			AddEvents (false);
		}
Ejemplo n.º 3
0
		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);
		}
Ejemplo n.º 4
0
		public DataItemGridItemSource (DataItemElement element)
		{
			this.element = element;
			accessible = element.Accessible;
			table = accessible.QueryTable ();
		}
Ejemplo n.º 5
0
		public GridSource (Element element)
		{
			accessible = element.Accessible;
			table = accessible.QueryTable ();
		}