MCPcopy Index your code
hub / github.com/python/cpython / update_cursor_blink

Method update_cursor_blink

Lib/idlelib/editor.py:822–830  ·  view source on GitHub ↗

Update the cursor blink configuration.

(self)

Source from the content-addressed store, hash-verified

820 text.see(pos)
821
822 def update_cursor_blink(self):
823 "Update the cursor blink configuration."
824 cursorblink = idleConf.GetOption(
825 'main', 'EditorWindow', 'cursor-blink', type='bool')
826 if not cursorblink:
827 self.text['insertofftime'] = 0
828 else:
829 # Restore the original value
830 self.text['insertofftime'] = idleConf.blink_off_time
831
832 def ResetFont(self):
833 "Update the text widgets' font if it is changed"

Callers 2

__init__Method · 0.95

Calls 1

GetOptionMethod · 0.80

Tested by

no test coverage detected