Gets the position and size (X,Y, W, H) @return: A tuple containing the View's coordinates (X, Y, W, H)
(self)
| 805 | return (x, y), (x + w, y + h) |
| 806 | |
| 807 | def getPositionAndSize(self): |
| 808 | """ |
| 809 | Gets the position and size (X,Y, W, H) |
| 810 | |
| 811 | @return: A tuple containing the View's coordinates (X, Y, W, H) |
| 812 | """ |
| 813 | |
| 814 | (x, y) = self.getXY() |
| 815 | w = self.getWidth() |
| 816 | h = self.getHeight() |
| 817 | return x, y, w, h |
| 818 | |
| 819 | def getBounds(self): |
| 820 | """ |