Artie Fuffkin

Results 53 comments of Artie Fuffkin

Hi and thanks for the reply! I actually managed to modify the cursive_table_view in a way that it doesn't have second member storing the same data, and also allows the...

Hi, Thanks for the answer. Although I understand after your explanation the idea, I still think it is rather non-intuitive way of doing things. If let's say a view take(s)_focus,...

Hi, "Я понимаю", but I'm trying to compare it to the GUI frameworks I work(ed) with like for example, Qt or Gtk, and there AFAIRC the equivalent of take_focus is...

> Note that for Qt and GTK (and other GUI frameworks), the situation is a bit different: most focus events come from the mouse or simply Tab/Shift-tab, and not the...

Hi and thank you for the reply. Rust ver 1.57 There seems to be some problem with cursive_core 0.2.2 Compiling cursive_core v0.2.2 error[E0310]: the parameter type `F` may not live...

Update: I fixed it by: removing entries referencing cursive* in: cargo/registry/src/ and cargo/registry/cache then cargo update and cargo build. Works now. Thanks for the prompt response. Btw, it would be...

You can use feature called closure in order to achieve that: add_button("OK",|siv| { let s = String::from("Hey");//alternatively this string could come from outside scope, in that case use move before...

Hey, I did this and it worked for me: ``` fn re_write(siv: &mut Cursive) {} fn some_fn(siv: &mut cursive::Cursive) { let name = "name"; let buttons = LinearLayout::horizontal() .child(Button::new("save", move...

Hi, I belive that cursive TextView is an eqivalent of let's say Qt's label. TBH, I don't think having focus on such element is required. You should redesign, in order...

It is I believe done because labels, never? need focus? The thing here is that I believe that the name TextView is misleading. In other gui frameworks it is called...