Changeset 1513 for trunk/GSASIIlog.py


Ignore:
Timestamp:
Oct 2, 2014 4:06:45 PM (7 years ago)
Author:
toby
Message:

update and rebuild docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIlog.py

    r1512 r1513  
    88# $Id: $
    99########### SVN repository information ###################
    10 '''Module to provide logging services, e.g. track and replay "actions"
     10'''
     11*GSASIIlog: Logging of "Actions"*
     12---------------------------------
     13
     14Module to provide logging services, e.g. track and replay "actions"
    1115such as menu item, tree item, button press, value change and so on.
    1216'''
     
    6468    '''
    6569    def __init__(self):
    66         'Must be defined'
     70        # Must be overridden
    6771        raise Exception('No __init__ defined')
    6872    def __str__(self):
    69         'Must be defined'
     73        # Must be overridden
    7074        raise Exception('No __str__ defined')
    7175    def Replay(self):
    72         'Must be defined'
     76        # Must be overridden
    7377        raise Exception('No Replay defined')
    7478    def Repaint(self):
     79        # optional
    7580        pass
    7681
     
    148153        return 'Tab press: Tab='+_l2s([self.tablabel])+' on window labeled '+str(self.wintitle)
    149154    def Repaint(self):
     155        'Used to redraw a window created in response to a Tab press'
    150156        if debug: print 'Repaint'
    151157        saveval = LogInfo['LastPaintAction']
     
    186192        return 'Tree item pressed: '+_l2s(treeList)
    187193    def Repaint(self):
     194        'Used to redraw a window created in response to a click on a data tree item'
    188195        if debug: print 'Repaint'
    189196        saveval = LogInfo['LastPaintAction']
Note: See TracChangeset for help on using the changeset viewer.