Hi!I have a problem and i think you can help me!(Sorry my english.I learn just one year)
Thats part of my program...
okno=Tk() text=Text() text.pack() def find(): print "I need help here" menubar = Menu(okno) editmenu = Menu(menubar, tearoff=0,bd=4) editmenu.add_command(label="Find", command=find) menubar.add_cascade(label="Edit", menu=editmenu) okno.config(menu=menubar)
i need add to definiction find correcet function.I need something like "find" in python GUI.If you press button find,you will see new window.In the window must be an Entry and Button.If you write sometzhing in entry and then press button will be called function:if is entry.get in text,selcet it and set cursor on them.if there is moore, they will by show by oressing button.I have tryied program from code snipet find, but i didnt solved it.