Xwt.GtkBackend.TreeViewBackend.GetRowAtPosition C# (CSharp) Method

GetRowAtPosition() public method

public GetRowAtPosition ( System.Point p ) : TreePosition
p System.Point
return TreePosition
        public TreePosition GetRowAtPosition(Point p)
        {
            Gtk.TreePath path = GetPathAtPosition (p);
            if (path != null) {
                Gtk.TreeIter iter;
                Widget.Model.GetIter (out iter, path);
                return new IterPos (-1, iter);
            }
            return null;
        }