omz:software Forums

Pythonista

If you want to participate in the discussion, you have to sign up or log in.

Categories: General, Share Code, Questions RSS (All Posts)

All Discussions

EditView

Here my EditView class project. A JavaScript based WYSIWYG editor hosted in a web view (prep for a bigger project.) This is where the family of building block classes should come together... e.g. to provide a SettingsSheet for the EditView etc. At the mom...

Started by tony (in Share Code) — 3 replies, latest 2 hours ago


Touch_Moved in panel view

I've been having troubles implementing custom touch handlers for a view that is presented as a panel or sidebar. Fullscreen, popover and sheet work ok. While touch_moved does get dispatched once for panel/sidebar, that's it, and after that the window sta...

Started by JonB (in Questions)


Frame Size not affecting button

Whatever I set my frame size to, the button size stays exactly the same. Also can't tell if the action is working or not. See line 429.

Started by techteej (in Questions) — 3 replies, latest 11 hours ago


Flow layout container

here is a container class that implements a Layout manager similar to java FlowLayout. One of the frustrating parts of doing dynamic ui's on the fly in pythonista is the lack of layout managers. This is the first in a series to correct that. A flow layou...

Started by JonB (in General) — 1 reply 16 hours ago


General bug report thread

Changing the name of any folder will always move it into the root Script Library folder, even if it was previously located elsewhere. Fortunately this does not cause data loss, all files will still be in the folder after this happens, so you can move the f...

Started by dgelessus (in General) — 5 replies, latest 17 hours ago


iPhone 6+ & Pythonista

Pythonista needs a UI update for the 6+, smaller font choices to make room in the editor. At the moment it just looks like just an overblown app and same goes for anything written using the UI component. Pretty please.

Started by Dann (in General)


Git in pythonista?

Im thinking about downloading pythonista and am just wondering what kind of git integration there is? For example: If I have an existing git repository, can I clone it, create a new branch, and push commits? Thanks

Started by davas301 (in General) — 3 replies, latest 1 day ago


iOS 8, pythonista on ipad?

Anyone install ios 8 on ipad 2? I'm waiting a few days, but curious if there are any quirks, etc with pythonista in ios8?

Started by JonB (in General) — 2 replies, latest 1 day ago


console.quicklook freezing app

I'm building an app that uses the ui module to perform some calculations, display the results, and optionally export a PDF produced with reportlab. Everything works perfectly up to the point of displaying the newly created PDF. My export buttons action loo...

Started by smath (in Questions) — 2 replies, latest 1 day ago


Names of selected rows instead of numbers

Is there any way to get names of selected rows in a table view instead of just 0, 1, 2, etc.?

Started by techteej (in Questions) — 11 replies, latest 2 days ago


Sounds - library of existing or importing new

I have looked through documentation and websites but cannot find a comprehensive list of sounds available through the sound module or how to import custom sounds. I found the list of sounds available in omz Editorial, and it seems these are available in P...

Started by cjchallis (in General) — 4 replies, latest 2 days ago


Now… Change the image in a UI...

Using the same method recommended to change text in a label (previous post), I am now trying to change an image based on a photo taken by the camera. The program tries, but returns a blank image to the UI. The image is definitely being taken, because I c...

Started by nasadave (in Questions) — 6 replies, latest 2 days ago


Change the text of a label in the UI?

Fairly new to python here, so be gentle… I am trying to change the text of a label on a UI based on user input into a console alert input variable. I can get a button title to change, but not a label text. What am I missing here? This is basically what...

Started by nasadave (in Questions) — 2 replies, latest 2 days ago


import zbar -- QRcodes in Pythonista

Hi ! Do you think it is possible to import the zbar library in a further release or Pythonista ? http://zbar.sourceforge.net Zbar already exists on iOS and there are some wrappers in Python. We could script a QRCode decoder for example with camera input...

Started by potsky (in General) — 8 replies, latest 2 days ago


CaptureMedia

@techteej Here [were] simplified start function and new request handler to use with CaptureMedia:

Started by tony (in General) — 7 replies, latest 3 days ago


example of a custom tableviewcell

Hey Folks, I'm trying to write a simple score keeper for a pool (billiards) game that my friends and I play. I have the basic mechanics down with the default tableviewcells, but I'd like to make the result a bit prettier by using a custom tableviewcell. I...

Started by tachijuan (in General) — 13 replies, latest 3 days ago


Disable two finger swipe down

Is there any way to disable the two finger swipe down but leave touch events in a UI View?

Started by techteej (in Questions) — 1 reply 4 days ago


Wrong .pyui file is getting loaded in XCode

I'm getting this error when building in Xcode. Don't know if it has anything to do with that I have to use the code below (for iOS 8 issues). import scene import os def find_bundled_files(file_extension='.pyui', exclude_dirs=('pylib', 'pylib_ext', 'Do...

Started by techteej (in Questions) — 11 replies, latest 5 days ago


Switching to SceneView zooms in Scene?

I used the code below to change a scene into a Scene View (launched by a button in a UI Menu), and it seems that the game scene is zoomed in. It also cuts off the scene and does not fill the entire screen. w, h = ui.get_screen_size() root_view = ui.View(...

Started by techteej (in Questions) — 11 replies, latest 5 days ago


Ads in a Scene?

Is there a way (or a hack) to support advertisements in a scene class? I want to show a banner ad at the top or bottom of the screen, how would I go about doing this?

Started by Shambhala (in General) — 8 replies, latest 5 days ago