Exemplo n.º 1
0
 def toprightpoint(self):
     """ return top right of window kid"""
     return towlist(list1=self.bottomrightpoint_p,
                    list2=[self.w_right, self.w_back]).subtracttowlist()
Exemplo n.º 2
0
 def pointcenterofparent(self):
     """ point center of window parent"""
     return towlist(self.startpoint,
                    [self.info_width_P / 2, self.info_height_p / 2
                     ]).plustracttowlist()
Exemplo n.º 3
0
 def topleftpoint(self):
     """ return top left of window kid"""
     return towlist(list1=self.topleftpoint_p,
                    list2=[self.w_left, self.w_front]).plustracttowlist()
Exemplo n.º 4
0
 def pointrightrec(self):
     """ return point rectangle on the left"""
     return towlist(self.pointcenterofparent(),
                    [self.info_width_k / 2, self.info_height_k / 2
                     ]).plustracttowlist()