focusAndFlash

focusAndFlash(widget, fg, bg, count=5)
Instance Public methods

focusAndFlash รข Error handler for entry widgets that forces the focus onto the widget and makes the widget flash by exchanging the foreground and background colours at intervals of 200ms (i.e. at approximately 2.5Hz).

Arguments: widget - entry widget to flash fg - Initial foreground colour bg - Initial background colour count - Counter to control the number of times flashed

doc_ruby_on_rails
2015-04-23 13:50:03
Comments
Leave a Comment

Please login to continue.