Package gui :: Package components :: Module free_file_format :: Class Free_file_format_window
[hide private]
[frames] | no frames]

Class Free_file_format_window

source code


The free file format setting window.

Instance Methods [hide private]
 
__init__(self, parent=None)
Set up the window.
source code
 
add_buttons(self, sizer)
Add the buttons to the sizer.
source code
 
add_centre(self, sizer)
Add the centre of the free file format settings window.
source code
 
build_frame(self)
Create the main part of the frame, returning the central sizer.
source code
 
cancel(self, event)
Close the window.
source code
 
reset(self, event)
Reset the free file format settings.
source code
 
save(self, event)
Save the free file format widget contents into the relax data store.
source code

Inherited from wizard.Wiz_page: add_artwork, add_contents, add_desc, on_apply, on_back, on_completion, on_display, on_display_post, on_execute, on_init, on_next

Class Variables [hide private]
  SIZE = 500, 550
  BORDER = 10
  SIZE_BUTTON = 100, 33

Inherited from wizard.Wiz_page: art_spacing, divider, height_element, image_path, main_text, setup_fail, size_button, size_square_button, title

Method Details [hide private]

__init__(self, parent=None)
(Constructor)

source code 

Set up the window.

Parameters:
  • parent - The parent GUI element.
  • height_desc - The height in pixels of the description part of the wizard.
Overrides: wizard.Wiz_page.__init__

add_buttons(self, sizer)

source code 

Add the buttons to the sizer.

Parameters:
  • sizer (wx.Sizer instance) - A sizer object.

add_centre(self, sizer)

source code 

Add the centre of the free file format settings window.

Parameters:
  • sizer (wx.Sizer instance) - A sizer object.

cancel(self, event)

source code 

Close the window.

Parameters:
  • event (wx event) - The wx event.

reset(self, event)

source code 

Reset the free file format settings.

Parameters:
  • event (wx event) - The wx event.

save(self, event)

source code 

Save the free file format widget contents into the relax data store.

Parameters:
  • event (wx event) - The wx event.