Package gui :: Package spin_viewer :: Module containers :: Class Container_base
[hide private]
[frames] | no frames]

Class Container_base

source code


The base class for the molecule, residue, and spin containers.

Instance Methods [hide private]
wx.StaticText instance
create_head_text(self, text)
Generate the wx.StaticText object for header text.
source code
wx.StaticText instance
create_subtitle(self, text)
Generate the subtitle wx.StaticText object.
source code
wx.StaticText instance
create_title(self, text)
Generate the title wx.StaticText object.
source code
Class Variables [hide private]
  border = 10
Method Details [hide private]

create_head_text(self, text)

source code 

Generate the wx.StaticText object for header text.

Parameters:
  • text (str) - The text of the subtitle.
Returns: wx.StaticText instance
The subtitle object.

create_subtitle(self, text)

source code 

Generate the subtitle wx.StaticText object.

Parameters:
  • text (str) - The text of the subtitle.
Returns: wx.StaticText instance
The subtitle object.

create_title(self, text)

source code 

Generate the title wx.StaticText object.

Parameters:
  • text (str) - The text of the subtitle.
Returns: wx.StaticText instance
The subtitle object.