CVSROOT:        /cvs/gnome
Module name:    dogtail
Changes by:     zcerza  06/03/28 15:07:25

Modified files:
        .              : ChangeLog 
        examples       : recorder.py 

Log message:
* examples/recorder.py: Remove the Writer class and move its only
method to the ScriptWriter class. Create a a subclass of dogtail.tree.node,
called FakeNode, which can wrap a Node instance and store certain attributes of
it, so AT-SPI calls are not used when reading them. This was necessary because
events are useless if they are received after their source has been destroyed.
For example, by storing recorder.lastFocusedNode as a FakeNode instead of a
Node, if a Close button in a dialog is clicked we will still have all the
information we need to record the event. So, make
EventRecorder.on{Focus,Select}() store self.last{Focus,Select}edNode as
FakeNodes. Also, make EventRecorder.onMouseButton() properly dance around
dogtail.tree's handling of attributes. This will have to be fixed in the
nearish future, though.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=dogtail&who=zcerza&date=explicit&mindate=2006-03-28%2015:06&maxdate=2006-03-28%2015:08

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to