Package gui :: Package spin_viewer :: Module frame :: Class Spin_view_window
[hide private]
[frames] | no frames]

Class Spin_view_window

source code


A window element for the tree view.

Instance Methods [hide private]
 
__init__(self, *args, **kwds)
Set up the relax prompt.
source code
 
_activate(self)
Activate or deactivate certain elements in response to the execution lock.
source code
 
_create_menu(self)
Build a menu for the window.
source code
 
Show(self, show=True)
Change the behaviour of showing the window to update the content.
source code
 
refresh(self, event=None)
Event handler for the refresh action (thread safe).
source code
 
refresh_safe(self)
Refresh the spin viewer window.
source code
 
handler_close(self, event=None)
Event handler for the close window action.
source code
 
load_spins_wizard(self, event=None)
The spin loading wizard.
source code
wx.Sizer instance
setup_window(self)
Set up the window.
source code
 
toolbar(self)
Create the toolbar.
source code
 
update_pipes(self, event=None)
Update the spin view data pipe selector.
source code
int
wizard_page_after_load_method(self)
Set the page after the load method choice.
source code
int
wizard_page_after_sequence_read(self)
Set the page after the sequence.read user function page.
source code
int
wizard_page_after_structure_read(self)
Set the page after the structure.read_* user function pages.
source code
Method Details [hide private]

Show(self, show=True)

source code 

Change the behaviour of showing the window to update the content.

Parameters:
  • show (bool) - A flag which is True shows the window.

refresh(self, event=None)

source code 

Event handler for the refresh action (thread safe).

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

handler_close(self, event=None)

source code 

Event handler for the close window action.

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

load_spins_wizard(self, event=None)

source code 

The spin loading wizard.

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

setup_window(self)

source code 

Set up the window.

Returns: wx.Sizer instance
The sizer object.

update_pipes(self, event=None)

source code 

Update the spin view data pipe selector.

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

wizard_page_after_load_method(self)

source code 

Set the page after the load method choice.

Returns: int
The index of the next page.

wizard_page_after_sequence_read(self)

source code 

Set the page after the sequence.read user function page.

Returns: int
The index of the last page.

wizard_page_after_structure_read(self)

source code 

Set the page after the structure.read_* user function pages.

Returns: int
The index of the structure.load_spins page.