Changeset 1222 for SHX


Ignore:
Timestamp:
25.02.2017 17:57:06 (3 years ago)
Author:
klaus
Message:

new command textcatch

Location:
SHX/trunk/SeismicHandler
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • SHX/trunk/SeismicHandler/modules/wx_.py

    r1215 r1222  
    33803380 
    33813381    def OnDropText(self, x, y, data): 
    3382         print "dbg: text '%s' dropped at (%d,%d):\n" % (data, x, y) 
    33833382        trace, timestamp = plotter.canvas.ScreenToTraceAndTime( x, y ) 
    33843383        if trace == None: 
     
    33873386            set_runtime( "dragdrop_trace", trace.index(True) ) 
    33883387        set_runtime( "dragdrop_time", timestamp ) 
     3388        _sendShCommand( "@TEXTCATCH %s" % data.replace(" ","_").replace( 
     3389            '/','\\') ) 
    33893390 
    33903391 
Note: See TracChangeset for help on using the changeset viewer.