summaryrefslogtreecommitdiff
path: root/gr-wxgui/python
diff options
context:
space:
mode:
Diffstat (limited to 'gr-wxgui/python')
-rw-r--r--gr-wxgui/python/wxgui/fft_window.py8
-rw-r--r--gr-wxgui/python/wxgui/plot.py10
-rw-r--r--gr-wxgui/python/wxgui/plotter/gltext.py2
-rw-r--r--gr-wxgui/python/wxgui/scope_window.py4
4 files changed, 12 insertions, 12 deletions
diff --git a/gr-wxgui/python/wxgui/fft_window.py b/gr-wxgui/python/wxgui/fft_window.py
index 024200556e..b0f65cc5c9 100644
--- a/gr-wxgui/python/wxgui/fft_window.py
+++ b/gr-wxgui/python/wxgui/fft_window.py
@@ -101,7 +101,7 @@ class control_panel(wx.Panel):
parent.subscribe(AVERAGE_KEY, widget.Enable)
widget.Enable(parent[AVERAGE_KEY])
parent.subscribe(AVERAGE_KEY, widget.ShowItems)
- #allways show initially, so room is reserved for them
+ #always show initially, so room is reserved for them
widget.ShowItems(True) # (parent[AVERAGE_KEY])
parent.subscribe(AVERAGE_KEY, self._update_layout)
@@ -127,7 +127,7 @@ class control_panel(wx.Panel):
parent.subscribe(USE_PERSISTENCE_KEY, widget.Enable)
widget.Enable(parent[USE_PERSISTENCE_KEY])
parent.subscribe(USE_PERSISTENCE_KEY, widget.ShowItems)
- #allways show initially, so room is reserved for them
+ #always show initially, so room is reserved for them
widget.ShowItems(True) # (parent[USE_PERSISTENCE_KEY])
parent.subscribe(USE_PERSISTENCE_KEY, self._update_layout)
@@ -201,7 +201,7 @@ class control_panel(wx.Panel):
##################################################
def _update_layout(self,key):
# Just ignore the key value we get
- # we only need to now that the visability or size of something has changed
+ # we only need to now that the visibility or size of something has changed
self.parent.Layout()
#self.parent.Fit()
@@ -254,7 +254,7 @@ class fft_window(wx.Panel, pubsub.pubsub):
self[PERSIST_ALPHA_KEY] = persist_alpha
for trace in TRACES:
#a function that returns a function
- #so the function wont use local trace
+ #so the function won't use local trace
def new_store_trace(my_trace):
def store_trace(*args):
self._traces[my_trace] = self.samples
diff --git a/gr-wxgui/python/wxgui/plot.py b/gr-wxgui/python/wxgui/plot.py
index 041a2a7a50..5875f818c2 100644
--- a/gr-wxgui/python/wxgui/plot.py
+++ b/gr-wxgui/python/wxgui/plot.py
@@ -11,7 +11,7 @@
#-----------------------------------------------------------------------------
# 12/15/2003 - Jeff Grimmett (grimmtooth@softhome.net)
#
-# o 2.5 compatability update.
+# o 2.5 compatibility update.
# o Renamed to plot.py in the wx.lib directory.
# o Reworked test frame to work with wx demo framework. This saves a bit
# of tedious cut and paste, and the test app is excellent.
@@ -508,7 +508,7 @@ class PlotCanvas(wx.Window):
# SaveFile
def SaveFile(self, fileName= ''):
"""Saves the file to the type specified in the extension. If no file
- name is specified a dialog box is provided. Returns True if sucessful,
+ name is specified a dialog box is provided. Returns True if successful,
otherwise False.
.bmp Save a Windows bitmap file.
@@ -528,7 +528,7 @@ class PlotCanvas(wx.Window):
while 1:
if dlg1.ShowModal() == wx.ID_OK:
fileName = dlg1.GetPath()
- # Check for proper exension
+ # Check for proper extension
if _string.lower(fileName[-3:]) not in ['bmp','xbm','xpm','png','jpg']:
dlg2 = wx.MessageDialog(self, 'File name extension\n'
'must be one of\n'
@@ -1435,7 +1435,7 @@ class PlotPrintout(wx.Printout):
## print "DC GetSize", dc.GetSize()
## print "GetPageSizePixels", self.GetPageSizePixels()
# Note PPIScreen does not give the correct number
- # Calulate everything for printer and then scale for preview
+ # Calculate everything for printer and then scale for preview
PPIPrinter= self.GetPPIPrinter() # printer dots/inch (w,h)
#PPIScreen= self.GetPPIScreen() # screen dots/inch (w,h)
dcSize= dc.GetSize() # DC size
@@ -1667,7 +1667,7 @@ class TestFrame(wx.Frame):
self.Show(True)
def DrawPointLabel(self, dc, mDataDict):
- """This is the fuction that defines how the pointLabels are plotted
+ """This is the function that defines how the pointLabels are plotted
dc - DC that will be passed
mDataDict - Dictionary of data that you want to use for the pointLabel
diff --git a/gr-wxgui/python/wxgui/plotter/gltext.py b/gr-wxgui/python/wxgui/plotter/gltext.py
index 55627bceb1..81c9a77141 100644
--- a/gr-wxgui/python/wxgui/plotter/gltext.py
+++ b/gr-wxgui/python/wxgui/plotter/gltext.py
@@ -24,7 +24,7 @@ from OpenGL.GL import *
"""
Optimize with psyco if possible, this gains us about 50% speed when
creating our textures in trade for about 4MBytes of additional memory usage for
-psyco. If you don't like loosing the memory you have to turn the lines following
+psyco. If you don't like losing the memory you have to turn the lines following
"enable psyco" into a comment while uncommenting the line after "Disable psyco".
"""
#Try to enable psyco
diff --git a/gr-wxgui/python/wxgui/scope_window.py b/gr-wxgui/python/wxgui/scope_window.py
index 71e2b8e285..ebca318c55 100644
--- a/gr-wxgui/python/wxgui/scope_window.py
+++ b/gr-wxgui/python/wxgui/scope_window.py
@@ -121,7 +121,7 @@ class control_panel(wx.Panel):
parent.subscribe(USE_PERSISTENCE_KEY, widget.Enable)
widget.Enable(parent[USE_PERSISTENCE_KEY])
parent.subscribe(USE_PERSISTENCE_KEY, widget.ShowItems)
- #allways show initially, so room is reserved for them
+ #always show initially, so room is reserved for them
widget.ShowItems(True) # (parent[USE_PERSISTENCE_KEY])
parent.subscribe(USE_PERSISTENCE_KEY, self._update_layout)
@@ -407,7 +407,7 @@ class control_panel(wx.Panel):
##################################################
def _update_layout(self,key):
# Just ignore the key value we get
- # we only need to now that the visability or size of something has changed
+ # we only need to now that the visibility or size of something has changed
self.parent.Layout()
#self.parent.Fit()