Sha256: dae0803184e5b47233d1e06ebba0b6752c95a5d7d090b078d74e9812ba0d50f7
Contents?: true
Size: 588 Bytes
Versions: 1
Compression:
Stored size: 588 Bytes
Contents
class Shoes module Swt module Common module Clear def clear app.remove_paint_listener @painter remove_click_listeners @real.dispose unless @real.nil? || @real.disposed? dispose end # Classes should override to dispose of any Swt resources they create def dispose end private def remove_click_listeners app.remove_listener ::Swt::SWT::MouseDown, @click_listener app.remove_listener ::Swt::SWT::MouseUp, @click_listener end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-4.0.0.pre1 | lib/shoes/swt/common/clear.rb |