libqtile/drawer.py
def draw(self, offsetx=0, offsety=0, width=None, height=None):
        """
        Parameters
        ==========

        offsetx :
            the X offset to start drawing at.
        offsety :
            the Y offset to start drawing at.
        width :
            the X portion of the canvas to draw at the starting point.
        height :
            the Y portion of the canvas to draw at the starting point.
        """
        self.qtile.conn.conn.core.CopyArea(
            self.pixmap,
            self.wid,
            self.gc,
            0, 0,  # srcx, srcy
            offsetx, offsety,  # dstx, dsty
            self.width if width is None else width,
            self.height if height is None else height
        )

        Parameters
        ==========

        offsetx :
            the X offset to start drawing at.
        offsety :
            the Y offset to start drawing at.
        width :
            the X portion of the canvas to draw at the starting point.
        height :
            the Y portion of the canvas to draw at the starting point.
        
Parameters
offsetx :
the X offset to start drawing at.
offsety :
the Y offset to start drawing at.
width :
the X portion of the canvas to draw at the starting point.
height :
the Y portion of the canvas to draw at the starting point.
Parameters offsetx : the X offset to start drawing at . offsety : the Y offset to start drawing at . width : the X portion of the canvas to draw at the starting point . height : the Y portion of the canvas to draw at the starting point .
def draw(self, offsetx=0, offsety=0, width=None, height=None):
        self.qtile.conn.conn.core.CopyArea(
            self.pixmap,
            self.wid,
            self.gc,
            0, 0,  
            offsetx, offsety,  
            self.width if width is None else width,
            self.height if height is None else height
        )
def draw ( self , offsetx = 0 , offsety = 0 , width = None , height = None ) : self . qtile . conn . conn . core . CopyArea ( self . pixmap , self . wid , self . gc , 0 , 0 , offsetx , offsety , self . width if width is None else width , self . height if height is None else height )
Parameters
offsetx :
the X offset to start drawing at.
Parameters offsetx : the X offset to start drawing at .
"""
        Parameters
        ==========

        offsetx :
            the X offset to start drawing at.
        offsety :
            the Y offset to start drawing at.
        width :
            the X portion of the canvas to draw at the starting point.
        height :
            the Y portion of the canvas to draw at the starting point.
        """ # srcx, srcy # dstx, dsty
self
offsetx
offsety
width
height