2005-03-05, 01:00
cut things short his the basics of what im doing
where it says #need to call the printmy in option class.
i need to be able to call the printmy function in the option class. so i can pass data through.
at the time the somthing function is called the option class is active and visble and running.
any help would be greatly appreicated. thanks in advance
Quote:class mainmenu(xbmcgui.window):
# with stuff here and claling the option window
class options(xbmcgui.window):
def printmy(self, txt):
print txt
#draw to window
return
def something (incoming):
#need to call the printmy in option class.
win = mainmenu()
win.domodal()
del win
where it says #need to call the printmy in option class.
i need to be able to call the printmy function in the option class. so i can pass data through.
at the time the somthing function is called the option class is active and visble and running.
any help would be greatly appreicated. thanks in advance