merge stable version #2
|
@ -1,10 +0,0 @@
|
||||||
use gtk::*;
|
|
||||||
use gtk4 as gtk;
|
|
||||||
|
|
||||||
pub fn state_controller(switch: &Switch, label: &Label) {
|
|
||||||
if switch.state() {
|
|
||||||
label.set_label("Режим: проверка");
|
|
||||||
} else {
|
|
||||||
label.set_label("Режим: кодирование");
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue