Sha256: d75255b32dd2178213544d60de7e04291ff0cf1ea82877be761a145caa67e06a
Contents?: true
Size: 334 Bytes
Versions: 9
Compression:
Stored size: 334 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
9 entries across 9 versions & 1 rubygems