Package evas :: Module debug :: Class DebugObserver
[hide private]
[frames] | no frames]

Class DebugObserver

source code

object --+
         |
        DebugObserver

Debug object events using an observer that prints debug messages.

Debug messages are printed using logging.debug() with "evas.dbg" logger.

One can control which messages to use by providing on_* parameter, later used as attributes.

Instance Methods [hide private]
 
__init__(self, obj, on_resize=True, on_move=True, on_hide=True, on_show=True, on_restack=False, on_free=False, on_mouse_in=False, on_mouse_out=False, on_mouse_down=False, on_mouse_up=False, on_mouse_move=False, on_mouse_wheel=False, on_key_down=False, on_key_up=False, on_focus_in=False, on_focus_out=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
unregister(self) source code
 
cb_on_resize(self, obj) source code
 
cb_on_move(self, obj) source code
 
cb_on_hide(self, obj) source code
 
cb_on_show(self, obj) source code
 
cb_on_restack(self, obj) source code
 
cb_on_free(self, obj) source code
 
cb_on_mouse_in(self, obj, e) source code
 
cb_on_mouse_out(self, obj, e) source code
 
cb_on_mouse_down(self, obj, e) source code
 
cb_on_mouse_up(self, obj, e) source code
 
cb_on_mouse_move(self, obj, e) source code
 
cb_on_mouse_wheel(self, obj, e) source code
 
cb_on_key_down(self, obj, e) source code
 
cb_on_key_up(self, obj, e) source code
 
cb_on_focus_in(self, obj, e) source code
 
cb_on_focus_out(self, obj, e) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, obj, on_resize=True, on_move=True, on_hide=True, on_show=True, on_restack=False, on_free=False, on_mouse_in=False, on_mouse_out=False, on_mouse_down=False, on_mouse_up=False, on_mouse_move=False, on_mouse_wheel=False, on_key_down=False, on_key_up=False, on_focus_in=False, on_focus_out=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)