79651378

Date: 2025-06-03 14:05:31
Score: 2
Natty:
Report link

to show another window modally you ```present``` the dialog window and call the method ```set_transient_for``` passing the parent window.

```

let d = DialogWindow::new():

d.set_transient_for(Some(parent_window));

d.present();

```

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ferd tomale