mridang
July 24th, 2009, 05:52 AM
Hi Guys,
I'm writing a Boxee application. It uses a lot of embedded python code. This Python code makes a lot of calls to another python class that i've written. I would like to create an instance of a class and have it available as a global object. This way i can reference the same object from code in different onlick event locations scattered across the XML file.
1. Where do i create an onload even for my application?
2. How do i create Python global variables in my XML file. Where would this code have to be written.
I hope that some guru on this forum would know. :)
Thanks for any help guys.
I'm writing a Boxee application. It uses a lot of embedded python code. This Python code makes a lot of calls to another python class that i've written. I would like to create an instance of a class and have it available as a global object. This way i can reference the same object from code in different onlick event locations scattered across the XML file.
1. Where do i create an onload even for my application?
2. How do i create Python global variables in my XML file. Where would this code have to be written.
I hope that some guru on this forum would know. :)
Thanks for any help guys.