How to reactivate (focus?) the main window,



hi everybody,

i help maintain xournal. We use gtk+2.

One feature we support is making a screenshot. This is done by activating
the root
window.

Things work as expected. But... the problem is, how do I activate the
main window? The focus remains in the root one.

I have tried using   gtk_window_set_focus(winMain); but this does not work.

thank you,

--daniel

---
Daniel M. German
http://turingmachine.org


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