Erik> I'm not sure if I understand what your problem is. 

    I know I'm having a hard time to explain my needs!

    Erik> One way you would do this is something like this (simplified
    Erik> example, you would need some code to set up the app etc, but
    Erik> you should get the idea):
    Erik> class App:.....................

    OK. This is a possible "do it by youself" solution, but imagine
    your Edit menu has been teared off, so that is open and visible,
    and that the user moves from a modifiable object to a "read-only"
    one. How will you know that the "Cut" item/action should be
    disabled? [1]

    You need a "current object" concept and a "on idle" callback from
    the framework.  The whole concept of "event driven GUI" is to NOT
    write your event loop yourself again.

[1] Another "do it by youself" solution is to set a timer.

-- 
    bye, Luca
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to