summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2014-05-17 20:19:51 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2014-05-17 20:19:51 +0300
commit7b6732f2ab36e2c57aa142cabd847f81067e9a30 (patch)
treeb3687a53f92729ab43ae70eac480c4c186bb1d63
parent2788035e888025030f5670e3eec449b6d9702473 (diff)
Elementary.object_item: Rename conflicting API from previous commit
-rw-r--r--efl/elementary/object_item.pyx23
1 files changed, 12 insertions, 11 deletions
diff --git a/efl/elementary/object_item.pyx b/efl/elementary/object_item.pyx
index ab1e4c1..02e8a31 100644
--- a/efl/elementary/object_item.pyx
+++ b/efl/elementary/object_item.pyx
@@ -665,7 +665,7 @@ cdef class ObjectItem(object):
665 # elm_object_item_access_order_unset(self.item) 665 # elm_object_item_access_order_unset(self.item)
666 666
667 667
668 property track: 668 property track_object:
669 """The track object of the item. 669 """The track object of the item.
670 670
671 .. note:: 671 .. note::
@@ -687,9 +687,9 @@ cdef class ObjectItem(object):
687 687
688 .. warning:: 688 .. warning::
689 689
690 After use the track object, please call ``del item.track`` to free 690 After use the track object, please call ``del item.track_object``
691 the track object properly. **Don't call ``obj.delete()`` on the 691 to free the track object properly. **Don't call ``obj.delete()`` on
692 track object.** 692 the track object.**
693 693
694 .. versionadded:: 1.10 694 .. versionadded:: 1.10
695 695
@@ -701,11 +701,11 @@ cdef class ObjectItem(object):
701 elm_object_item_untrack(self.item) 701 elm_object_item_untrack(self.item)
702 702
703 def track(self): 703 def track(self):
704 """Same as ``item.track``""" 704 """Same as ``item.track_object``"""
705 return object_from_instance(elm_object_item_track(self.item)) 705 return object_from_instance(elm_object_item_track(self.item))
706 706
707 def untrack(self): 707 def untrack(self):
708 """Same as ``del item.track``""" 708 """Same as ``del item.track_object``"""
709 elm_object_item_untrack(self.item) 709 elm_object_item_untrack(self.item)
710 710
711 property track_count: 711 property track_count:
@@ -714,11 +714,12 @@ cdef class ObjectItem(object):
714 .. note:: 714 .. note::
715 715
716 This gets the reference count for the track object. Whenever you 716 This gets the reference count for the track object. Whenever you
717 get the tracking object with :py:attr:`track` the reference count 717 get the tracking object with :py:attr:`track_object` the reference
718 is increased by one. Likewise the reference count is decreased when 718 count is increased by one. Likewise the reference count is
719 you call ``del item.track``. Unless the reference count reaches 719 decreased when you call ``del item.track_object``. Unless the
720 zero the track object won't be deleted so please make sure to call 720 reference count reaches zero the track object won't be deleted so
721 ``del item.track`` as many times as :py:attr:`track`. 721 please make sure to call ``del item.track_object`` as many times as
722 getting :py:attr:`track_object`.
722 723
723 .. versionadded:: 1.10 724 .. versionadded:: 1.10
724 725