Enlightenment CVS committal Author : barbieri Project : e17 Module : proto/python-efl
Dir : e17/proto/python-efl/python-ecore/ecore/evas Modified Files: utils.py Log Message: Documentation and minor fixes. TODO: ecore.evas =================================================================== RCS file: /cvs/e/e17/proto/python-efl/python-ecore/ecore/evas/utils.py,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- utils.py 15 Aug 2007 17:19:59 -0000 1.1 +++ utils.py 29 Sep 2007 00:32:30 -0000 1.2 @@ -28,9 +28,9 @@ Observer must have methods with name scheme: cb_on_<callback>, examples: - * cb_on_resize - * cb_on_move - * cb_on_show + - cb_on_resize + - cb_on_move + - cb_on_show """ for cb_name in __callbacks: cb = __get_callback(observer, cb_name) @@ -44,8 +44,8 @@ Mapping must be a dict or a list of tuples with callback name and desired function, example: - * mapping = (("resize", my_on_resize), ("show", my_on_show)) - * mapping = {"resize": my_on_resize, "show": my_on_show} + - mapping = (("resize", my_on_resize), ("show", my_on_show)) + - mapping = {"resize": my_on_resize, "show": my_on_show} """ if isinstance(mapping, dict): mapping = mapping.iteritems() ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs