Bubble introduce `limit_to` Property #865

Merged
merged 3 commits into from Jan 18, 2013

Conversation

Projects
None yet
3 participants
Owner

akshayaurora commented Dec 16, 2012

Confines the Bubble Widget inside the Widget referenced to by limit_to

kivy/uix/bubble.py
@@ -190,6 +200,20 @@ def clear_widgets(self, **kwargs):
else:
content.clear_widgets()
+ def on_pos(self, instance, pos):
+ lt = self.limit_to
+ if lt and lt != object:
@rubik

rubik Dec 17, 2012

Shouldn't this be using is instead of !=?

@akshayaurora

akshayaurora Jan 18, 2013

Owner

Thanks. Fixed!

Owner

tito commented Jan 11, 2013

akshay, merge this one if the remarq of rubik is ok or not :)

@ghost ghost assigned akshayaurora Jan 11, 2013

akshayaurora added a commit that referenced this pull request Jan 18, 2013

Merge pull request #865 from kivy/bubble_limit
Bubble  introduce `limit_to` Property

@akshayaurora akshayaurora merged commit ad1727b into master Jan 18, 2013

@akshayaurora akshayaurora deleted the bubble_limit branch Jan 18, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment