Quantcast
Channel: How to control a frame from another frame? - Stack Overflow
Viewing all articles
Browse latest Browse all 3

How to control a frame from another frame?

$
0
0

I'm writing a small app which has 2 separate frames.

The first frame is like a video player controller. It has Play/Stop/Pause buttons etc. It's named controller.py.

The second frame contains OpenGL rendering and many things inside it, but everything is wrapped inside a Frame() class as the above. It's named model.py.

I'm up to the final part where I have to "join" these two together.Does anyone know how to control a frame (model.py) from another frame (controller.py)?

I would like to do something like a movie player when you clicks play it pops up a new window and play until the stop button is clicked.

If you know how, please let me know. (Just tell me in general no need to specific).


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images