ChesStrategy wrote:Hope this is clearer.
It is, but nothing changes. ui module may not even be officially supported other and remains there for backwards compatibility. If you run into issues, there will be less people willing to help you out on the forums and if there are bugs, they may not be fixed ever or at least not make a priority for the developers.
My point is, if you want to drop screen language and create a pure python implementation, do so using Drag and DragGroup classes, not the ui module.
ChesStrategy wrote:I guess I must be missing something about the creating the drag object. PyTom mentioned in an older post (possibly outdated) that if we use the UI object and create a drag that way (i.e ui.drag() ), we don't need to supply the first argument? Anyways, here was the post I was referring to:
http://lemmasoft.renai.us/forums/viewto ... ag#p121086
In the example PyTom gives, he also uses the an id argument; I was not sure if ui.drag() has that anymore since the post was from awhile ago and I no longer see it in the documentation. Sorry for any potential obvious questions, but I mainly just want to get a working example of drag.
It may take the followup statement as a child, I've never used drag/drop paired with ui module. I've tried putting the button after the drag and it threw a different error, so I am prolly right.
ChesStrategy wrote:I did get a working example of drag with the screen language; but I still ran into the same exception when I made the screen more complex. I can post the more complicated example with the screen language here, if you guys prefer to help me with that instead.
Ideally, you'd want to isolate the code causing the error and post it here, maybe even in a dummy project.
ChesStrategy wrote:The ultimate result I would like, screen language used or not. Is a vertically scrollable, draggable window that holds a vbox (or vertical list) of draggable objects itself. Each draggable object would be a button with both an image and text, and can be dragged from the current list, to another screen.
Dragging it to another screen may be a bit tricky (although it may be doable, I just try to avoid creating problems for myself). Otherwise, sounds both doable and reasonable.