diff options
Diffstat (limited to 'schist_gtk4_gui/src/window.rs')
| -rw-r--r-- | schist_gtk4_gui/src/window.rs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/schist_gtk4_gui/src/window.rs b/schist_gtk4_gui/src/window.rs index b612e92..b3cea35 100644 --- a/schist_gtk4_gui/src/window.rs +++ b/schist_gtk4_gui/src/window.rs @@ -19,7 +19,11 @@ use gtk::{ TemplateChild, }; -use crate::categories_view::SchistCategoriesView; +use crate::{ + balances_view::SchistBalancesView, categories_view::SchistCategoriesView, + category_transfers_view::SchistCategoryTransfersView, + transactions_view::SchistTransactionsView, +}; gtk::glib::wrapper! { pub struct SchistWindow(ObjectSubclass<SchistWindowSubclass>) @@ -38,7 +42,16 @@ impl SchistWindow { #[template(resource = "/net/joeac/schist/ui/window.ui")] pub struct SchistWindowSubclass { #[template_child] + pub balances_view: TemplateChild<SchistBalancesView>, + + #[template_child] pub categories_view: TemplateChild<SchistCategoriesView>, + + #[template_child] + pub category_transfers_view: TemplateChild<SchistCategoryTransfersView>, + + #[template_child] + pub transactions_view: TemplateChild<SchistTransactionsView>, } #[glib::object_subclass] |
