Method: CDK::SCALE#destroy
- Defined in:
- lib/cdk/components/scale.rb
#destroy ⇒ Object
This function destroys the widget.
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 |
# File 'lib/cdk/components/scale.rb', line 438 def destroy self.cleanTitle @label = [] # Clean up the windows. CDK.deleteCursesWindow(@field_win) CDK.deleteCursesWindow(@label_win) CDK.deleteCursesWindow(@shadow_win) CDK.deleteCursesWindow(@win) # Clean the key bindings. self.cleanBindings(self.object_type) # Unregister this object CDK::SCREEN.unregister(self.object_type, self) end |