Getting Background app into focus

How to get a background running application into focus by another application? I mean there is a gtk application running on which another gtk application is running. Now i need to get that background application into focus from 3rd application like application switcher. I tried to used the gtk_window_present in that the background application jst pops up bt the focus still remains at the 3rd application. Is there any other API i can use?

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