I have a main window and several other dialog windows which open from the main window on button clicks. When the user clicks on the main window while the child dialog window is opened, i want the focus to be set to child window. The user must first close the child and then click on main window. In Windows, it happens that it gives you sound as well as highlights the child window reminding the user that the child window is still opened and requires some action. How do i implement such functionality in gtkmm?
Asked
Active
Viewed 101 times
1 Answers
0
It sounds like you are just describing a modal
window. If it fits your use case, there's a standard Gtk::Dialog. If you want a completely custom modal
window, any window can be made modal.

Mark
- 106,305
- 20
- 172
- 230
-
Thanks Mark. This is exactly what i meant. But i didn't know the term 'modal'. – Majid Khan Oct 01 '13 at 09:53
-
How should i bring this window into focus if the user tries to click outside this, on some other window? – Majid Khan Oct 01 '13 at 10:00