how to prevent multiple instances of the same window.



hi,

I have developed a gtk application having several
dialog windows. One of the dialogs is the About
dialog. Whenever i click the about menu item, a new
instance of the about dialog pops up. Is there a easy
gtk api, which restricts the creation of multilple
instances of the same dialog.
For example, when the user clicks About menu item
once, and clicks it again after some time, the
previous about dialog should be raised and presented
to him, rather than creating another About dialog
window.

Thanks in advance




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]