// Copyright (C) 2019 Robin Krahl // SPDX-License-Identifier: MIT use std::io::Result; use dialog::DialogBox; fn main() -> Result<()> { dialog::Message::new("This is a message.").show()?; dialog::Message::new("This is a message.") .title("And this is a title:") .show() }