What does gtk_window_present() do exactly? I don't know if there are many people here that know gtk and Qt altogether. Maybe I'm wrong.
Anyway if you give us the declaration, description and what you want to do with it, we could base us on that information to help you.