Atspi.Accessible.QuerySelection C# (CSharp) Method

QuerySelection() public method

public QuerySelection ( ) : Selection
return Selection
        public Selection QuerySelection()
        {
            if ((Interfaces & Interfaces.Selection) != 0)
                return new Selection (this);
            return null;
        }

Usage Example

Esempio n. 1
0
        public SelectionTest()
        {
            frame = GetFrame ("gtkmenubar.py");

            menuBar = FindByRole (frame, Role.MenuBar);
            Assert.IsNotNull (menuBar, "Couldn't find the menu bar");
            selection = menuBar.QuerySelection ();
            Assert.IsNotNull (selection, "menuBar.QuerySelection");
        }