Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tracking of recent files and include menu option #17

Open
askmarkio opened this issue Jun 10, 2024 · 1 comment
Open

Add tracking of recent files and include menu option #17

askmarkio opened this issue Jun 10, 2024 · 1 comment

Comments

@askmarkio
Copy link
Owner

No description provided.

@askmarkio
Copy link
Owner Author

menu_recent = Menu(menu_file)
menu_file.add_cascade(menu=menu_recent, label='Open Recent')
for f in recent_files:
    menu_recent.add_command(label=os.path.basename(f), command=lambda f=f: openFile(f))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant