use crate::components::wifi::utils::IpProtocol; use crate::components::wifi::wifi_route_entry; use adw::{EntryRow, ExpanderRow}; use gtk::subclass::prelude::*; use gtk::{glib, Button, CompositeTemplate}; use std::cell::{Cell, RefCell}; #[derive(Default, CompositeTemplate)] #[template(resource = "/org/Xetibo/ReSet/resetWifiRouteEntry.ui")] pub struct WifiRouteEntryImpl { #[template_child] pub reset_route_row: TemplateChild, #[template_child] pub reset_route_address: TemplateChild, #[template_child] pub reset_route_prefix: TemplateChild, #[template_child] pub reset_route_gateway: TemplateChild, #[template_child] pub reset_route_metric: TemplateChild, #[template_child] pub reset_route_remove: TemplateChild