Back to index

python-biopython  1.60
Public Member Functions | Public Attributes
SeqGui.SeqFrame Class Reference

List of all members.

Public Member Functions

def __init__
def exit

Public Attributes

 seq_panel
 params_panel

Detailed Description

Definition at line 184 of file SeqGui.py.


Constructor & Destructor Documentation

def SeqGui.SeqFrame.__init__ (   self,
  parent,
  ID,
  title 
)

Definition at line 185 of file SeqGui.py.

00185 
00186     def __init__(self, parent, ID, title):
00187         wx.Frame.__init__(self, parent, ID, title,
00188                           wx.DefaultPosition, wx.Size(500, 400))
00189         self.SetAutoLayout(True)
00190         self.CreateStatusBar()
00191         self.SetStatusText("This is the statusbar")
00192         menu = wx.Menu()
00193         menu.Append(ID_ABOUT, "&About",
00194                     "More information about this program")
00195         menu.AppendSeparator()
00196         menu.Append(ID_EXIT, "E&xit", "Terminate the program")
00197 
00198         menuBar = wx.MenuBar()
00199         menuBar.Append(menu, "&File");
00200         self.SetMenuBar(menuBar)
00201 
00202         params_panel = ParamsPanel(self, -1)
00203         lc = wx.LayoutConstraints()
00204         lc.top.SameAs(self, wx.Top, 10)
00205         lc.left.SameAs(self, wx.Left, 5)
00206         lc.bottom.SameAs(self, wx.Bottom, 5)
00207         lc.width.PercentOf(self, wx.Width, 40)
00208         params_panel.SetConstraints(lc)
00209 
00210         seq_panel = SeqPanel(self, -1)
00211         lc = wx.LayoutConstraints()
00212         lc.top.SameAs(self, wx.Top, 10)
00213         lc.left.RightOf(params_panel, 5)
00214         lc.bottom.SameAs(self, wx.Bottom, 5)
00215         lc.right.SameAs(self, wx.Right)
00216         seq_panel.SetConstraints(lc)
00217 
00218         self.seq_panel = seq_panel
00219         self.params_panel = params_panel
00220 
00221         wx.EVT_MENU(self, ID_EXIT, self.exit)


Member Function Documentation

def SeqGui.SeqFrame.exit (   self,
  event 
)

Definition at line 222 of file SeqGui.py.

00222 
00223     def exit(self, event):
00224         self.Close(True)
00225 

Here is the call graph for this function:


Member Data Documentation

Definition at line 218 of file SeqGui.py.

Definition at line 217 of file SeqGui.py.


The documentation for this class was generated from the following file: