I'm trying to make a language-specific toolbar button that when clicked prints the path of the file the button is clicked from. I've been able to set up the button, but how I don't know how to access the path of the current file.
I've basically got two different files, let's call them button.rkt and important.rkt. button.rkt contains my implentation of the button and needs some way to print the path to important.rkt (and any other file that the button may be clicked in). What is the best way to access that file path? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/032e3cf9-ea14-46ce-a819-e5093aafacd9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.