libqtile/window.py
def place(self, x, y, width, height, borderwidth, bordercolor,
              above=False, force=False, margin=None):
        """Places the window at the specified location with the given size.

        If force is false, than it tries to obey hints
        """

        # TODO: self.x/y/height/width are updated BEFORE
        # place is called, so there's no way to know if only
        # the position is changed, so we are sending
        # the ConfigureNotify every time place is called
        #
        # # if position change and size don't
        # # send a configure notify. See ICCCM 4.2.3
        # send_notify = False
        # if (self.x != x or self.y != y) and \
        #    (self.width == width and self.height == height):
        #       send_notify = True
        # #for now, we just:
        send_notify = True

        # Adjust the placement to account for layout margins, if there are any.
        if margin is not None:
            x += margin
            y += margin
            width -= margin * 2
            height -= margin * 2

        # save x and y float offset
        if self.group is not None and self.group.screen is not None:
            self.float_x = x - self.group.screen.x
            self.float_y = y - self.group.screen.y

        self.x = x
        self.y = y
        self.width = width
        self.height = height
        self.borderwidth = borderwidth
        self.bordercolor = bordercolor

        kwarg = dict(
            x=x,
            y=y,
            width=width,
            height=height,
            borderwidth=borderwidth,
        )
        if above:
            kwarg['stackmode'] = StackMode.Above

        self.window.configure(**kwarg)

        if send_notify:
            self.send_configure_notify(x, y, width, height)

        if bordercolor is not None:
            self.window.set_attribute(borderpixel=bordercolor)
Places the window at the specified location with the given size.

        If force is false, than it tries to obey hints
        
Places the window at the specified location with the given size.
If force is false, than it tries to obey hints
Places the window at the specified location with the given size . If force is false than it tries to obey hints
def place(self, x, y, width, height, borderwidth, bordercolor,
              above=False, force=False, margin=None):
          if position change and size don't
          send a configure notify. See ICCCM 4.2.3
         send_notify = False
         if (self.x != x or self.y != y) and \
            (self.width == width and self.height == height):
               send_notify = True
         for now, we just:
        send_notify = True
         Adjust the placement to account for layout margins, if there are any.
        if margin is not None:
            x += margin
            y += margin
            width -= margin * 2
            height -= margin * 2
         save x and y float offset
        if self.group is not None and self.group.screen is not None:
            self.float_x = x - self.group.screen.x
            self.float_y = y - self.group.screen.y
        self.x = x
        self.y = y
        self.width = width
        self.height = height
        self.borderwidth = borderwidth
        self.bordercolor = bordercolor
        kwarg = dict(
            x=x,
            y=y,
            width=width,
            height=height,
            borderwidth=borderwidth,
        )
        if above:
            kwarg['stackmode'] = StackMode.Above
        self.window.configure(**kwarg)
        if send_notify:
            self.send_configure_notify(x, y, width, height)
        if bordercolor is not None:
            self.window.set_attribute(borderpixel=bordercolor)
def place ( self , x , y , width , height , borderwidth , bordercolor , above = False , force = False , margin = None ) : send_notify = True if margin is not None : x += margin y += margin width -= margin * 2 height -= margin * 2 if self . group is not None and self . group . screen is not None : self . float_x = x - self . group . screen . x self . float_y = y - self . group . screen . y self . x = x self . y = y self . width = width self . height = height self . borderwidth = borderwidth self . bordercolor = bordercolor kwarg = dict ( x = x , y = y , width = width , height = height , borderwidth = borderwidth , ) if above : kwarg [ 'stackmode' ] = StackMode . Above self . window . configure ( ** kwarg ) if send_notify : self . send_configure_notify ( x , y , width , height ) if bordercolor is not None : self . window . set_attribute ( borderpixel = bordercolor )
Places the window at the specified location with the given size.
Places the window at the specified location with the given size .
"""Places the window at the specified location with the given size.

        If force is false, than it tries to obey hints
        """ # TODO: self.x/y/height/width are updated BEFORE # place is called, so there's no way to know if only # the position is changed, so we are sending # the ConfigureNotify every time place is called # # # if position change and size don't # # send a configure notify. See ICCCM 4.2.3 # send_notify = False # if (self.x != x or self.y != y) and \ #    (self.width == width and self.height == height): #       send_notify = True # #for now, we just: # Adjust the placement to account for layout margins, if there are any. # save x and y float offset
self
x
y
width
height
borderwidth
bordercolor
above
force
margin