Benedek Dévényi

Results 438 comments of Benedek Dévényi

``` [20:33] Moosems rdbende Is there any way to create a menubar before the window without causing it to create one on its own? [20:34] rdbende yeah [20:34] rdbende i...

Well, if I understood Tcl just a bit better... But yeah, I knew about that one. I guess it will arrive in Tk 8.7 or later, so knowing the development...

It's in alpha state for more than 5 years now, so idk 🤷. And if it finally gets released sometime, it will be 1 or 2 more years for Python...

You could work on the messageboxes. It would be very similar to the filedialogs, so a `MessageBoxBase` abstract base class, four classes for the different implementations (you can do `TkMessageBox`,...

Thanks! I marked it.

> That may be true but it makes the code more readable and easier to understand when it comes to functions performed on variables To be honest, I don't agree...

> It would also be nice to have a built-in way to make dialogs Yup, it isn't in the TODO, but actually I've implemented it. > Can we try and...

> https://stackoverflow.com/questions/72370788/bring-up-macos-print-file-dialog @Moosems Here are your requested links: - https://github.com/tcltk/tk/blob/main/library/print.tcl - https://github.com/tcltk/tk/blob/main/macosx/tkMacOSXPrint.c I haven't read through them, just found the files, but it looks like there is indeed going to...

In theory you could do this: ```python from tukaan.dialogs import FileDialog dir = FileDialog.get_directory() file_to_open = FileDialog.get_open_filenames() file_to_save = FileDialog.get_save_filenames() with FileDialog.get_open_file() as file: print(file.read()) with FileDialog.get_save_file() as file: file.write("asdf")...