/[ascend]/trunk/pygtk/interface/gtkbrowser.py
ViewVC logotype

Diff of /trunk/pygtk/interface/gtkbrowser.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 279 by johnpye, Tue Feb 7 07:23:44 2006 UTC revision 280 by johnpye, Wed Feb 8 08:31:56 2006 UTC
# Line 23  from incidencematrix import *  # inciden Line 23  from incidencematrix import *  # inciden
23  from observer import *         # observer tab support  from observer import *         # observer tab support
24  from properties import *       # solver_var properties dialog  from properties import *       # solver_var properties dialog
25  from varentry import *         # for inputting of variables with units  from varentry import *         # for inputting of variables with units
26    from diagnose import *         # for diagnosing block non-convergence
27  import sys, dl  import sys, dl
28  # This sets the flags for dlopen used by python so that the symbols in the  # This sets the flags for dlopen used by python so that the symbols in the
29  # ascend library are made available to libraries dlopened within ASCEND:  # ascend library are made available to libraries dlopened within ASCEND:
# Line 546  class Browser: Line 546  class Browser:
546          _sp = IncidenceMatrixWindow(_im);          _sp = IncidenceMatrixWindow(_im);
547          _sp.run();          _sp.run();
548    
549        def on_diagnose_blocks_click(self,*args):
550            _db = DiagnoseWindow(GLADE_FILE,self)
551            _db.run();
552    
553      def on_add_observer_click(self,*args):      def on_add_observer_click(self,*args):
554          if len(self.observers) >= 1:          if len(self.observers) >= 1:
555              self.reporter.reportError("Not supported: multiple observers")              self.reporter.reportError("Not supported: multiple observers")

Legend:
Removed from v.279  
changed lines
  Added in v.280

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22