Blocking call on widgets.
358445
def listen(self):
        
        while self._listen:
            key = u''
            key = self.term.inkey(timeout=0.2)
            try:
                if key.code == KEY_ENTER:
                    self.on_enter(key=key)
                elif key.code in (KEY_DOWN, KEY_UP):
                    self.on_key_arrow(key=key)
                elif key.code == KEY_ESCAPE or key == chr(3):
                    self.on_exit(key=key)
                elif key != '':
                    self.on_key(key=key)
            except KeyboardInterrupt:
                self.on_exit(key=key)
775448
def del_widget(self, ref):
        
        self.server.request("widget_del %s %s" % (self.name, ref))
        del(self.widgets[ref])
477738
def cancel(self, caller):
        
        for o in {i for i in self.children if isinstance(i, AbstractCallable)}:
            o.cancel(caller)
609192
private void stopPanning(HumanInputEvent<?> event) {
		mapWidget.getMapModel().getMapView().setPanDragging(false);
		panning = false;
		moving = false;
		mapWidget.setCursorString(mapWidget.getDefaultCursorString());
		if (null != event) {
			updateView(event);
		}
	}
753164
def _update_widgets(self):
        ''

        self._time_sensitive = any(getattr(w, 'TIME_SENSITIVE', False)
                                    for w in self.widgets)
723256
public void blockUsers(DomainBareJid mucLightService, List<Jid> usersJids)
            throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
        HashMap<Jid, Boolean> users = new HashMap<>();
        for (Jid jid : usersJids) {
            users.put(jid, false);
        }
        sendBlockUsers(mucLightService, users);
    }
1247840
public void forceMouseOut() {

        for (Widget w : m_buttonPanel) {
            if (w instanceof CmsPushButton) {
                ((CmsPushButton)w).clearHoverState();
            }
        }
        CmsDomUtil.ensureMouseOut(this);
        removeStyleName(I_CmsLayoutBundle.INSTANCE.stateCss().cmsHovering());
    }
792236
def blockSignals( self, state ):
        
        super(XLocationWidget, self).blockSignals(state)
        self._locationEdit.blockSignals(state)
        self._locationButton.blockSignals(state)
933355
def cancel_requests(self):
        """"""
        self._timer.stop()
        self._job = None
        self._args = None
        self._kwargs = None
319557
def hide(self):
        
        if not self.isHidden():
            QWidget.hide(self)
            self._qpart.updateViewport()
769923
def block_all(self):
        
        self.block()
        for em in self._emitters.values():
            em.block()
1333050
private void stopDragging() {
		if (dragging) {
			dragging = false;
			mapWidget.getVectorContext().deleteGroup(circleGroup);
			center = null;
			radius = 0;
		}
	}
194927
def _call_widget_constructed(widget):
        """"""
        if Widget._widget_construction_callback is not None and callable(Widget._widget_construction_callback):
            Widget._widget_construction_callback(widget)
1093513
def eventFilter(self, widget, event):
        """"""
        if ((event.type() == QEvent.MouseButtonPress and
                 not self.geometry().contains(event.globalPos())) or
                (event.type() == QEvent.KeyPress and
                 event.key() == Qt.Key_Escape)):
            # Exits editing
            self.hide()
            self.setFocus(False)
            return True

        # Event is not interessant, raise to parent
        return QLineEdit.eventFilter(self, widget, event)
577412
protected void removeDecorationWidget(Widget widget, int width) {

        if ((widget != null) && m_decorationWidgets.remove(widget)) {
            m_decorationWidth -= width;
            initContent();
        }
    }
802125
public void cancel(com.google.gwt.dom.client.Element e) {
    setElement(e);
    // This has to be the order of calls
    cancel(e.<com.google.gwt.user.client.Element> cast());
  }
635254
def cancelOperation(self):
        '''
        
        '''
        if self.isLongTouchingPoint:
            self.toggleLongTouchPoint()
        elif self.isTouchingPoint:
            self.toggleTouchPoint()
        elif self.isGeneratingTestCondition:
            self.toggleGenerateTestCondition()