Skip to content
Browse files

fix on_ref_press reference

  • Loading branch information...
1 parent ea16bd5 commit fcccb16affe3953718b2fb47c829de1037973347 @tshirtman tshirtman committed Oct 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 kivy/uix/
2 kivy/uix/
@@ -84,7 +84,7 @@
def print_it(instance, value):
print 'User clicked on', value
widget = Label(text='Hello [ref=world]World[/ref]', markup=True)
- widget.on_ref_press(print_it)
+ widget.bind(on_ref_press=print_it)
For a better rendering, you could add a color for the reference. Replace the
``text=`` in the previous example with::

0 comments on commit fcccb16

Please sign in to comment.
Something went wrong with that request. Please try again.