Allow applications to control the window title
`iced_winit` will change the window title dynamically at runtime!
This commit is contained in:
parent
e66d38403d
commit
e953b1828d
5 changed files with 64 additions and 18 deletions
|
|
@ -25,6 +25,10 @@ pub enum Message {
|
|||
impl Application for Example {
|
||||
type Message = Message;
|
||||
|
||||
fn title(&self) -> String {
|
||||
String::from("Scroll - Iced")
|
||||
}
|
||||
|
||||
fn update(&mut self, message: Message) {
|
||||
match message {
|
||||
Message::AddItem => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue