# File gglib/widget.rb, line 139 def sleep if not @sleeping if hasStickyFocus? $window.setStickyFocus(nil) end @theme.setSleepState @sleeping=true end end