Module pyinotify :: Class Event
[show private | hide private]
[frames | no frames]

Type Event

object --+    
         |    
    _Event --+
             |
            Event


This class contains all the useful informations about the observed event. However, the incorporation of each field is not guaranteed and depends on the type of event. In effect, some fields are irrelevant for some kind of event (for example 'cookie' is meaningless for IN_CREATE whereas it is useful for IN_MOVE_TO).

The possible fields are:
Method Summary
    Inherited from _Event
  __init__(self, dict_)
Attach attributes (contained in dict_) to self.
str __str__(self)
Return string representation.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Generated by Epydoc 2.1 on Tue Jul 10 21:40:43 2007 http://epydoc.sf.net