Class: Wx::WindowDisabler
- Inherits:
-
Object
- Object
- Wx::WindowDisabler
- Defined in:
- lib/wx/doc/gen/window_disabler.rb,
lib/wx/doc/window_disabler.rb
Overview
This class is untracked and should not be derived from nor instances extended!
This class disables all top level windows of the application (maybe with the exception of one of them) in its constructor and enables them back in its destructor.
This is useful when you want to indicate to the user that the application is currently busy and cannot respond to user input.
When instantiated, this affects only windows shown on the screen and not already disabled.
Category: Miscellaneous
Class Method Summary collapse
-
.disable(to_skip = nil) ⇒ void
Disables all top level windows of the application (maybe with the exception of one of them) in and enables them back after the given block has returned.
Class Method Details
.disable(to_skip = nil) ⇒ void
This method returns an undefined value.
Disables all top level windows of the application (maybe with the exception of one of them) in and enables them back after the given block has returned.
16 |
# File 'lib/wx/doc/window_disabler.rb', line 16 def self.disable(to_skip = nil) end |