2013-06-10, 21:17
Hi,
I want to create small addon. There is two menu item. Account and Wireless settings.
When i choose Account Setting then screen menu have to change new items like Username , Passwords inputboxes and Save Button.
How can do that? Anyone done thsi kind of app. before?
Thanks
Oki
Here is first menu script i found at forum.
def createListing():
listing = []
listing.append('Account Settings')
listing.append('Wireless Settings')
return listing
def sendToXbmc(listing):
global thisPlugin
for item in listing:
listItem = xbmcgui.ListItem(item)
xbmcplugin.addDirectoryItem(thisPlugin,'',listItem)
xbmcplugin.endOfDirectory(thisPlugin)
I want to create small addon. There is two menu item. Account and Wireless settings.
When i choose Account Setting then screen menu have to change new items like Username , Passwords inputboxes and Save Button.
How can do that? Anyone done thsi kind of app. before?
Thanks
Oki
Here is first menu script i found at forum.
def createListing():
listing = []
listing.append('Account Settings')
listing.append('Wireless Settings')
return listing
def sendToXbmc(listing):
global thisPlugin
for item in listing:
listItem = xbmcgui.ListItem(item)
xbmcplugin.addDirectoryItem(thisPlugin,'',listItem)
xbmcplugin.endOfDirectory(thisPlugin)