Open donaldcallen opened 5 years ago
Relevant thread on URLO where we dug into this error: https://users.rust-lang.org/t/do-not-understand-this-error/30924/
You can also pass None::<>k::Adjustment>
FWIW. These problems exist because functions can't declare default types for generic parameters yet.
"Usually you want to pass None for the adjustments, which will cause the scrolled window to create them for you."
Pass 'None' for the adjustments leads to
_: gtk::IsA<gtk::Adjustment>
--> src/main.rs:159:42You have gtk::NONE_ADJUSTMENT defined. Why not mention that in the documentation instead of 'None' and avoid leading users down this incorrect path?