
bozon42
New User
Sep 23, 2009, 1:00 AM
Post #1 of 1
(3490 views)
|
perl/tk application as dictionary with test
|
Can't Post
|
|
Hello all, I am a beginner is perl/tk and would like to ask you for help. My idea is creating a txt file with english and slovak word as dictionary for learning and practising new words. In addition each line would contain a chapter number. Example: ======== good=dobrý;1 bad=zlý;1 work=pracovať; think=rozmýšlať;2 ======== This txt file can be updated any time. Is it possible to create a perl/Tk application that would either randomly (or in order) generate 2 column of 10-15 words as objects with english/slovak words as label and by moving the correct word to another correct word with mouse in the second column it disappears (or gives a message that it is wrong). +---------------+ +---------------+ | good | | pracovať | +---------------+ +---------------+ +---------------+ +---------------+ | bad | | dobrý | +---------------+ +---------------+ +---------------+ +---------------+ | work | | zlý | +---------------+ +---------------+ +---------------+ +---------------+ | think | | rozmýšlať | +---------------+ +---------------+ Somehow I need an idea, how to programm the moving and checking. can I use Central European characters as well (or other like utf8)? Can somebody help me with this? Regards, bozon42
|