You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
slint::include_modules!();
// use slint::SharedString;
pub mod client;
use client::tcp_client;
fn main() -> Result<(), slint::PlatformError> {
let ui = AppWindow::new()?;
ui.on_signal_connect({
let ui_handle = ui.as_weak();
move || {
let ui = ui_handle.unwrap();
let ip = ui.get_IP();
let port = ui.get_Port();
}
});
ui.run()
}
The text was updated successfully, but these errors were encountered:
I'm a fresh man to use rust and slint. My code like this:
slint:
main.rs:
The text was updated successfully, but these errors were encountered: