Sha256: 3beb6ca55845d1e6599f8d64f8256a3237106f3767d5bb61fa6109fd84782be7
Contents?: true
Size: 346 Bytes
Versions: 11
Compression:
Stored size: 346 Bytes
Contents
# Emulates the wxWidgets WindowUpdateLocker class, by providing a scope within # which window can be updated without refreshing class Wx::WindowUpdateLocker # Only one class method accepting a window that will be # frozen while the block is executed def self.update(win) win.freeze yield ensure win.thaw end end
Version data entries
11 entries across 11 versions & 1 rubygems