diff options
author | Kai Huuhko <kai.huuhko@gmail.com> | 2015-03-31 12:14:58 +0300 |
---|---|---|
committer | Kai Huuhko <kai.huuhko@gmail.com> | 2015-03-31 12:15:41 +0300 |
commit | 708f02bccce1a7799fb2ade31a9827d606105683 (patch) | |
tree | 0118a61e1dd1424a3140d7fe5ae1a82e5dbb5d81 | |
parent | aee5433cdc60abafb8477ef010155832acbf64c6 (diff) |
Evas.SmartObject: Add more docs to move_children_relative()
-rw-r--r-- | efl/evas/efl.evas_object_smart.pxi | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/efl/evas/efl.evas_object_smart.pxi b/efl/evas/efl.evas_object_smart.pxi index 3014e08..c6287c9 100644 --- a/efl/evas/efl.evas_object_smart.pxi +++ b/efl/evas/efl.evas_object_smart.pxi | |||
@@ -769,7 +769,19 @@ cdef class SmartObject(Object): | |||
769 | return self.smart | 769 | return self.smart |
770 | 770 | ||
771 | def move_children_relative(self, int dx, int dy): | 771 | def move_children_relative(self, int dx, int dy): |
772 | """Move all children relatively.""" | 772 | """Moves all children objects relative to a given offset. |
773 | |||
774 | This will make each of object's children to move, from where | ||
775 | they before, with those delta values (offsets) on both directions. | ||
776 | |||
777 | .. note:: This is most useful on custom :func:`Smart.move` functions. | ||
778 | |||
779 | .. note:: Clipped smart objects already make use of this function on | ||
780 | their :func:`Smart.move` function definition. | ||
781 | |||
782 | :param dx: horizontal offset (delta). | ||
783 | :param dy: vertical offset (delta). | ||
784 | """ | ||
773 | evas_object_smart_move_children_relative(self.obj, dx, dy) | 785 | evas_object_smart_move_children_relative(self.obj, dx, dy) |
774 | 786 | ||
775 | def changed(self): | 787 | def changed(self): |