Make text view not editable
This commit is contained in:
parent
bfc28c532f
commit
0d0aafc619
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ fn main() {
|
|||
let connect_button = Button::with_label("Connect");
|
||||
let reset_button = Button::with_label("Reset");
|
||||
let serial_info = TextView::new();
|
||||
serial_info.set_editable(false);
|
||||
let scrolled_window = ScrolledWindow::builder()
|
||||
.vscrollbar_policy(PolicyType::Automatic)
|
||||
.child(&serial_info)
|
||||
|
|
Loading…
Reference in a new issue