Class: Wx::PersistentTLW
- Inherits:
- 
      PersistentWindow
      
        - Object
- Wx::PersistentTLW
 
- Defined in:
- lib/wx/doc/gen/persistent_window.rb
Overview
Persistence adapter for TopLevelWindow.
This adapter saves and restores the geometry (i.e. position and size) and the state (iconized, maximized or normal) of top level windows. It can be used with both Frame and Dialog. Note that it does not save nor restore the window visibility.
Instance Method Summary collapse
- 
  
    
      #initialize(tlw)  ⇒ Wx::PersistentTLW 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    Constructor. 
- 
  
    
      #restore  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  
  
    Restore the window geometry. 
- 
  
    
      #save  ⇒ void 
    
    
  
  
  
  
  
  
  
  
  
    Save the current window geometry. 
Constructor Details
#initialize(tlw) ⇒ Wx::PersistentTLW
Constructor.
| 53 | # File 'lib/wx/doc/gen/persistent_window.rb', line 53 def initialize(tlw) end | 
Instance Method Details
#restore ⇒ Boolean
Restore the window geometry.
| 61 | # File 'lib/wx/doc/gen/persistent_window.rb', line 61 def restore; end | 
#save ⇒ void
This method returns an undefined value.
Save the current window geometry.
| 57 | # File 'lib/wx/doc/gen/persistent_window.rb', line 57 def save; end |