-
-
Notifications
You must be signed in to change notification settings - Fork 189
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Section 5.2 Subclassing does not mention adding the following code in mod.rs.
impl Default for CustomButton {
fn default() -> Self {
Self::new()
}
}
The first part works well without it, but it is required by Adding functionality part.
I know that it is not GTK-related and that it is common knowledge among programmers that it is required, but I am sure that mentioning it will make it easier for newcomers to follow along with this book.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working