davemds wrote:
>kuuko: is that the right way to use the Configuration class?
>I mean: create a new instance every time you need to set
>a configuration? isn't expensive?

I suggest instantiating it once per application when needed, e.g.:

import elementary
config = elementary.Configuration()

class MyApp(object):
    def __init__(self):
        config.mirroring = True

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to