Class: Wx::PersistentTLW

Inherits:
PersistentWindow
  • Object
show all
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.

Requires:

  • USE_CONFIG

Instance Method Summary collapse

Constructor Details

#initialize(tlw) ⇒ Wx::PersistentTLW

Constructor.

Parameters:



53
# File 'lib/wx/doc/gen/persistent_window.rb', line 53

def initialize(tlw) end

Instance Method Details

#restoreBoolean

Restore the window geometry.

Returns:

  • (Boolean)


61
# File 'lib/wx/doc/gen/persistent_window.rb', line 61

def restore; end

#savevoid

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