sync
This commit is contained in:
parent
b0458c34a5
commit
59a886f222
@ -141,7 +141,8 @@ impl SimpleComponent for SideBarModel {
|
|||||||
list_view_wrapper.selection_model.connect_selection_changed(
|
list_view_wrapper.selection_model.connect_selection_changed(
|
||||||
clone!(@strong sender => move |s,_, _| {
|
clone!(@strong sender => move |s,_, _| {
|
||||||
let selection = s.selection();
|
let selection = s.selection();
|
||||||
println!("selection changed: {:?}", selection);
|
let (iter,_) = gtk::BitsetIter::init_first(&selection).unwrap();
|
||||||
|
let positions = iter.collect::<Vec<_>>();
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
// let mut bottom_bar_vec = FactoryVecDeque::new(gtk::Box::default(), sender.input_sender());
|
// let mut bottom_bar_vec = FactoryVecDeque::new(gtk::Box::default(), sender.input_sender());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user