I believe that Builder should work with Path class. Example:
Error target notebook_for_me failed to compile:
Showing last frame. Use --error-trace for full trace.
In src/gui.cr:6:28
6 | builder = Gtk::Builder.new_from_file glade_file
^------------
Error: no overload matches 'Gtk::Builder.new_from_file' with type Path
Overloads are:
- Gtk::Builder.new_from_file(filename : ::String)
Steps to produce:
Just try to use "Gtk::builder.new_from_file" method with Path. For e.g:
Gtk::builder.new_from_file Path["my_file.glade"]
I believe that Builder should work with Path class. Example:
Steps to produce:
Information about Path