107 self.microPython.setActionButtons( |
107 self.microPython.setActionButtons( |
108 files=not (on or self.__replActive)) |
108 files=not (on or self.__replActive)) |
109 |
109 |
110 def canRunScript(self): |
110 def canRunScript(self): |
111 """ |
111 """ |
112 Public method to determine, if a Plotter can be started. |
112 Public method to determine, if a script can be executed. |
113 |
113 |
114 @return tuple containing a flag indicating it is safe to start a |
114 @return tuple containing a flag indicating it is safe to start a |
115 Plotter and a reason why it cannot. |
115 Plotter and a reason why it cannot. |
116 @rtype tuple of (bool, str) |
116 @rtype tuple of (bool, str) |
117 """ |
117 """ |