>>>>> "Oguz" == Oguz Yarimtepe <[EMAIL PROTECTED]> writes:

    Oguz> It runs only one time when the main
    Oguz> function is called. What should i do to make it run as a
    Oguz> background process and keep checking the xrandr output.

As always, it's good habit to have a look at the docs:)
You can use standard python threads, QThreads or QTimer (have a look
also at QObject.startTimer())

http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtimer.html
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qobject.html#startTimre

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to