• Gcarver

    I was having an issue setting TableView.selected_rows. I discovered that my problem was assignment doesn't replace the current list, but adds to it. So setting it to [] will not clear the current selections and adding say [(0, 1)] will simply add row 1 to the already selected rows.
    The only way I could find to clear the current selections to [] was calling TableView.reload_data() before setting selected_rows.

    posted in Pythonista read more
  • Gcarver

    Ui.convert_point(touch.location, fmview, toview) no longer works. Touch.location is not a tuple and also does not have an as_tuple function as the documentation states.
    I had to manually convert to a tuple grabbing the x and y. Touch.location now seems to be a subclass of vector2.

    posted in Pythonista read more
  • Gcarver

    I have a PyBoard and I really enjoy it. It does have some serious memory and speed limitations. I actually had to resort to writing some drivers for some of my hardware in C for both memory and performance reasons. That was not super easy either.
    I got it to work with a $5 wifi chip so I can use it wirelessly as well.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!