use std::cell::RefCell; use std::sync::Arc; use adw::glib::StaticTypeExt; use adw::subclass::prelude::AdwApplicationWindowImpl; use adw::{Breakpoint, OverlaySplitView}; use glib::subclass::InitializingObject; use gtk::subclass::prelude::*; use gtk::{glib, Button, CompositeTemplate, FlowBox, ListBox, PopoverMenu, SearchEntry}; use crate::components::base::utils::Listeners; use crate::components::wifi::wifi_box::WifiBox; use crate::components::window::reset_window; use crate::components::window::sidebar_entry::SidebarEntry; #[allow(non_snake_case)] #[derive(CompositeTemplate, Default)] #[template(resource = "/org/Xetibo/ReSet/resetMainWindow.ui")] pub struct ReSetWindow { #[template_child] pub resetMain: TemplateChild, #[template_child] pub resetSidebarBreakpoint: TemplateChild, #[template_child] pub resetOverlaySplitView: TemplateChild, #[template_child] pub resetSearchEntry: TemplateChild, #[template_child] pub resetSidebarList: TemplateChild, #[template_child] pub resetSideBarToggle: TemplateChild