Hi
I need to design a tkinter widget where i should have a browse option button as you see in all windows application to select a file from my machine.
Also i need to select an integer from some dropdown box.
How can i implement this... I m donewith the backend python coding.. but i need help for the front end..
I tried using the code which i got from google..
its like
from ViewerFramework.gui import InputFormDescr
from ViewerFramework.customizedWidgets import SaveButton
idf = InputFormDescr(title = 'SaveButton')
#button description
buttonwcfg = {'text':'Save', 'bg':'Red',
'fg':'Black','borderwidth':5}
idf.append({'widgetType':SaveButton,
'name':'save',
'wcfg':{'buttonType':Tkinter.Button,
'title':'Save In File ...',
'types':[('All Files','*.*'),
('Python Files','*.py')],
'widgetwcfg':buttonwcfg},
'gridcfg':{} })
val = self.vf.getUserInput(idf)
But i am am getting error like
"ImportError: No module named ViewerFramework.gui"
i m not sure how this progrm works...
please help me in coding these...
Thanks,
Anil Roy