Changeset 4318 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Feb 17, 2020 2:03:30 PM (2 years ago)
Author:
toby
Message:

minor table adjustments & finally figure out Angstrom for LaTeX and HTML -- I hope

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4301 r4318  
    613613            plotNum = self.plotList.index(label)
    614614            Page = self.nb.GetPage(plotNum)
     615            #def OnKeyTest(event): print('OnKeyTest Up')
     616            #Page.canvas.Bind(wx.EVT_KEY_UP, OnKeyTest)
     617            def OnKeyTest(event):
     618                #event.Skip()
     619                print('OnKeyTest down')
     620                Page.canvas.SetFocus()
     621                wx.PostEvent(Page.canvas,event)
     622            Page.canvas.Bind(wx.EVT_KEY_DOWN, OnKeyTest)
    615623
    616624        Page.plotInvalid = False # plot has just been drawn
Note: See TracChangeset for help on using the changeset viewer.