def setGlassPosition(self):
        top = Window.getScrollTop()
        left = Window.getScrollLeft()
        height = Window.getClientHeight()
        width = Window.getClientWidth()
        el = self.getElement()
        DOM.setStyleAttribute(el, "position", "absolute")
        DOM.setStyleAttribute(el, "left",
                                  left % "%s" if left == 0 else "%spx" % left)
        DOM.setStyleAttribute(el, "top",
                                  "%s" % top if top == 0 else "%spx" % top)
        DOM.setStyleAttribute(el, "height", "%spx" % (top + height))
        DOM.setStyleAttribute(el, "width", "%spx" % (left + width))
        # under pyjd glasswidget cannot be transparent,
        # otherwise it drops the mousecapture, so we have
        # to give it a 1% opaque background color
        if pyjd.is_desktop:
            # pyjd uses IE style opacity
            DOM.setStyleAttribute(el, "filter", "alpha(opacity=1)")
            # this is the Moz form of transparency
            DOM.setStyleAttribute(el, "background", "rgba(255,255,255,0.1)")
dataset/ETHPy150Open anandology/pyjamas/library/gwt/ui/GlassWidget.py/GlassWidget.setGlassPosition/swapped operands of `%`