(self)
return x1, y1, x2, y2
Get visible region of table to display
Get visible region of table to display
Get visible region of table to display
def getVisibleRegion(self):
        """Get visible region of table to display"""

        x1, y1 = self.canvasx(0), self.canvasy(0)
        #w, h = self.winfo_width(), self.winfo_height()
        w,h= self.master.winfo_width(), self.master.winfo_height()
        if w <= 1.0 or h <= 1.0:
            w, h = self.master.winfo_width(), self.master.winfo_height()
        x2, y2 = self.canvasx(w), self.canvasy(h)
        return x1, y1, x2, y2
def getVisibleRegion ( self ) : x1 , y1 = self . canvasx ( 0 ) , self . canvasy ( 0 ) #w, h = self.winfo_width(), self.winfo_height() w , h = self . master . winfo_width ( ) , self . master . winfo_height ( ) if w <= 1.0 or h <= 1.0 : w , h = self . master . winfo_width ( ) , self . master . winfo_height ( ) x2 , y2 = self . canvasx ( w ) , self . canvasy ( h ) return x1 , y1 , x2 , y2