projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
67d118c
)
Remove Assistant panel from GUI (get help via mouseover tooltips instead).
author
W. Trevor King
<wking@drexel.edu>
Sat, 7 Aug 2010 19:51:14 +0000
(15:51 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Sat, 7 Aug 2010 19:51:14 +0000
(15:51 -0400)
hooke/ui/gui/__init__.py
patch
|
blob
|
history
diff --git
a/hooke/ui/gui/__init__.py
b/hooke/ui/gui/__init__.py
index 5247f93ce3f932811c3e0d13a3402cd2e9f3fa02..f09e67263fd7f0066f70b23627bcee951ef8021b 100644
(file)
--- a/
hooke/ui/gui/__init__.py
+++ b/
hooke/ui/gui/__init__.py
@@
-194,11
+194,6
@@
class HookeFrame (wx.Frame):
style=wx.WANTS_CHARS,
# WANTS_CHARS so the panel doesn't eat the Return key.
), 'center'),
style=wx.WANTS_CHARS,
# WANTS_CHARS so the panel doesn't eat the Return key.
), 'center'),
-# ('assistant', wx.TextCtrl(
-# parent=self,
-# pos=wx.Point(0, 0),
-# size=wx.Size(150, 90),
-# style=wx.NO_BORDER|wx.TE_MULTILINE), 'right'),
(panel.PANELS['plot'](
callbacks={
'_set_status_text': self._on_plot_status_text,
(panel.PANELS['plot'](
callbacks={
'_set_status_text': self._on_plot_status_text,
@@
-217,7
+212,6
@@
class HookeFrame (wx.Frame):
# ('results', panel.results.Results(self), 'bottom'),
]:
self._add_panel(p, style)
# ('results', panel.results.Results(self), 'bottom'),
]:
self._add_panel(p, style)
- #self._c['assistant'].SetEditable(False)
def _add_panel(self, panel, style):
self._c[panel.name] = panel
def _add_panel(self, panel, style):
self._c[panel.name] = panel
@@
-674,8
+668,6
@@
class HookeFrame (wx.Frame):
def select_command(self, _class, method, command):
#self.select_plugin(plugin=command.plugin)
def select_command(self, _class, method, command):
#self.select_plugin(plugin=command.plugin)
- if 'assistant' in self._c:
- self._c['assitant'].ChangeValue(command.help)
self._c['property editor'].clear()
self._c['property editor']._argument_from_label = {}
for argument in command.arguments:
self._c['property editor'].clear()
self._c['property editor']._argument_from_label = {}
for argument in command.arguments: