You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, a widget with a module separator like gtk::Button is considered a gtk widget while one without is considered a relm widget.
This is confusing.
I cannot check for the gtk prefix because other crates can provide gtk widgets like webkit2gtk.
An idea is to require to prepend a symbol in front a relm widgets like @Button.
I don't like this idea since it makes a distinction between gtk and relm widgets.
The text was updated successfully, but these errors were encountered:
Fixed by #149.
Finally, I decided to allow the use of the $ symbol to be able to use a path for the name of a relm widget.
The old syntax (identifier) still works for relm widget to maintain backward compatibility.
Currently, a widget with a module separator like
gtk::Button
is considered agtk
widget while one without is considered arelm
widget.This is confusing.
I cannot check for the
gtk
prefix because other crates can providegtk
widgets likewebkit2gtk
.An idea is to require to prepend a symbol in front a
relm
widgets like@Button
.I don't like this idea since it makes a distinction between
gtk
andrelm
widgets.The text was updated successfully, but these errors were encountered: