Gang - I'm paradigm shifting from python to wxpython and having
a terrible time of it, but it must be done.

Basically, where do you put an input processing loop in wxpython?
Or will it have to be changed to event driven somehow?

I tried putting a loop at the end of:


class app_flow_graph (stdgui.gui_flow_graph):
    def __init__(self, frame, panel, vbox, argv):
        stdgui.gui_flow_graph.__init__ (self, frame, panel, vbox, argv)

        [create windows, connect blocks and handle events]

        while 1:
                process input


but that, naturally, blocks the window from ever being drawn.
Shouldn't it go in app.MainLoop() somewhere?

I've been able to create a frame, play a file and change freq with
a text control a-ok. Basically I want to control the radio with a
knob and display the status in a window.

TIA.

--Chuck



_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to