Turn blink cursor visibility on/off
423707
def blink(self, status):
        """"""
        self._display_control = ByteUtil.apply_flag(self._display_control, Command.BLINKING_ON, status)
        self.command(self._display_control)
273714
function onMouseDown(event, env, isSideEffectsDisabled) {
    mouse.down(event, env ? env.camera : null);

    if (!env || isSideEffectsDisabled) {
        return;
    }

    if (mouse.keys[1] && !mouse.keys[3]) {
        let focusedObject = focusObject(env.library, env.camera, env.selector);

        if (env.selector.selectFocused()) {
            events.triggerSelect(focusedObject);
        }   
    }
}
185194
def enable_busy_cursor(self):
        """"""
        QgsApplication.instance().setOverrideCursor(
            QtGui.QCursor(QtCore.Qt.WaitCursor)
        )
488223
def show_wait_cursor(object):
    

    @functools.wraps(object)
    def show_wait_cursorWrapper(*args, **kwargs):
        """
        Shows a wait cursor while processing.

        :param \*args: Arguments.
        :type \*args: \*
        :param \*\*kwargs: Keywords arguments.
        :type \*\*kwargs: \*\*
        :return: Object.
        :rtype: object
        """

        QApplication.setOverrideCursor(Qt.WaitCursor)
        value = None
        try:
            value = object(*args, **kwargs)
        finally:
            QApplication.restoreOverrideCursor()
            return value

    return show_wait_cursorWrapper
1171049
def set(self, hue):
        """"""
        x = hue / 360. * self.winfo_width()
        self.coords('cursor', x, 0, x, self.winfo_height())
        self._variable.set(hue)
34014
function toggleVisibility(dom, show) {
  dom.style.display = show ? '' : 'none';
  dom['hidden'] = show ? false : true;
}
797366
def toggle_dock_visibility(self):
        """"""
        if self.dock_widget.isVisible():
            self.dock_widget.setVisible(False)
        else:
            self.dock_widget.setVisible(True)
            self.dock_widget.raise_()
966481
def visibility_changed(self, enable):
        """"""
        super(SpyderPluginWidget, self).visibility_changed(enable)
        if enable and not self.pydocbrowser.is_server_running():
            self.pydocbrowser.initialize()
1170609
def blink_figure(self):
        """"""
        if self.fig:
            self._blink_flag = not self._blink_flag
            self.repaint()
            if self._blink_flag:
                timer = QTimer()
                timer.singleShot(40, self.blink_figure)
846020
function cursorInit() {
	scrolled = bw.ns4 || bw.ns5 ? "window.pageYOffset" : "document.body.scrollTop"
	if (bw.ns4) document.captureEvents(Event.MOUSEMOVE)
}
266575
function setVisible(curEditor, visible) {
        // short-circuit no-ops
        if ((visible && curEditor === editor) || (!visible && !editor)) {
            return;
        }

        if (visible) {
            console.assert(!editor);
            editor = curEditor;

            // Don't support inline editors yet - search inside them is pretty screwy anyway (#2110)
            if (editor.isTextSubset()) {
                return;
            }

            var $sb = _getScrollbar(editor),
                $overlay = $("<div class='tickmark-track'></div>");
            $sb.parent().append($overlay);

            _calcScaling();

            // Update tickmarks during editor resize (whenever resizing has paused/stopped for > 1/3 sec)
            WorkspaceManager.on("workspaceUpdateLayout.ScrollTrackMarkers", _.debounce(function () {
                if (marks.length) {
                    _calcScaling();
                    $(".tickmark-track", editor.getRootElement()).empty();
                    _renderMarks(marks);
                }
            }, 300));

        } else {
            console.assert(editor === curEditor);
            $(".tickmark-track", curEditor.getRootElement()).remove();
            editor = null;
            marks = [];
            WorkspaceManager.off("workspaceUpdateLayout.ScrollTrackMarkers");
        }
    }
31249
def visibility_changed(self, enable):
        
        if self.dockwidget is None:
            return
        if enable:
            self.dockwidget.raise_()
            widget = self.get_focus_widget()
            if widget is not None and self.undocked_window is not None:
                widget.setFocus()
        visible = self.dockwidget.isVisible() or self.ismaximized
        if self.DISABLE_ACTIONS_WHEN_HIDDEN:
            toggle_actions(self.plugin_actions, visible)
        self.isvisible = enable and visible
        if self.isvisible:
            self.refresh_plugin()
980457
function onVisibilityChangeFactory(hidden) {
  return function onVisibilityChange(evt) {
    if (document[hidden]) {
      debug('disable while hidden');
      stop();
    } else {
      debug('enable while visible');
      if (process.env.NODE_ENV === 'development') {
        const current = now();

        for (let i = 0, n = timeoutQueue.length; i < n; i++) {
          const item = timeoutQueue[i];

          if (item.time <= current) {
            debug('timeout should trigger for "%s"', item.id);
          } else {
            const date = new Date();

            date.setMilliseconds(date.getMilliseconds() + item.time - current);
            debug('timeout for "%s" expected at %s', item.id, date.toLocaleTimeString());
          }
        }
      }
      run();
    }
  };
}
879239
def visible(self, visible):
        """"""
        self._visible = visible
        if visible and len(self.panel.objects) == 0:
            self.setup()
            self.panel.extend(self.children)
        elif not visible and len(self.panel.objects) > 0:
            self.unwatch()
            self.panel.clear()
        if self.visible_callback:
            self.visible_callback(visible)
772801
def setVisible(self, visible):
        
        logger.debug('%s visibility changed', self.name)
        super(Panel, self).setVisible(visible)
        if self.editor:
            self.editor.panels.refresh()
680493
def _on_enter(self, *args):
        """"""
        self.config(foreground=self._hover_color, cursor=self._cursor)
1275182
def setDisplayVisibility(self, bIsVisibleOnDesktop):
        """"""

        fn = self.function_table.setDisplayVisibility
        result = fn(bIsVisibleOnDesktop)
        return result