Skip to content

Commit

Permalink
Update book/src/css.md
Browse files Browse the repository at this point in the history
Co-authored-by: Bilal Elmoussaoui <belmouss@redhat.com>
  • Loading branch information
zekefast and bilelmoussaoui committed Mar 20, 2023
1 parent c889622 commit d71f36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ Filename: <a class=file-link href="https://github.com/gtk-rs/gtk4-rs/blob/master
</gresources>
```
and call the `load_css()` function in `connect_startup` handler.
`load_css()` is almost identical to one shown at the beginning of the chapter but this time we load styles from resources using `load_from_resource()` method of `gtk::CssProvider`.
`load_css()` is almost identical to the one shown at the beginning of the chapter but this time we load styles from resources using `load_from_resource()` method of `gtk::CssProvider`.

Filename: <a class=file-link href="https://github.com/gtk-rs/gtk4-rs/blob/master/book/listings/todo/3/main.rs">listings/todo/3/main.rs</a>

Expand Down

0 comments on commit d71f36b

Please sign in to comment.