fractal/fractal-gtk
Jordan Petridis d11221dc0d
App: Use the new SVEntry struct instead of GtkBuilder
Its possible to make rust structs for each widget and add those to
the UI struct instead of going through GtkBuilder to access every
widget.

This, along with the previous commit, shows an easy pattern that can
be followed to abstract the elements and refactor the codebase
gradually.

A similar pattern was also demonstated by Federico in his GUADEC
2018 talk "Patterns of refactoring C to Rust" [1]. I Highly
recommened watching it.

[1] https://www.youtube.com/watch?v=5mVMycYmoWE
2018-10-03 14:53:08 +03:00
..
po roomhistory: add custom widget for message history 2018-09-25 16:07:39 +02:00
res SourceViewEntry: Add another bin like parent 2018-10-01 08:32:57 +03:00
src App: Use the new SVEntry struct instead of GtkBuilder 2018-10-03 14:53:08 +03:00
build.rs Globals: Avoid duplication 2018-09-22 17:25:58 +03:00
Cargo.toml column: add libhandy column to message view 2018-10-01 08:32:41 +03:00