Function gstore::gtk::run [−][src]
pub fn run<F, A, S>(store: Store<A, S>, window: F) where
F: Fn(Store<A, S>) -> ApplicationWindow + 'static,
A: Send + Clone + Eq + 'static,
S: LifecycleState + Clone + Eq + Default + 'static,
Runs a gtk main loop while listening to the given store.