Gtk3 - buttons always in focus

Dear All,
Good afternoon.
I have a GTK window with buttons, labels etc. If I click the mouse outside the window, the buttons lose focus. Is there a way, to keep the buttons always in focus, whether mouse is clicked inside or outside the window.
Thanks in advance.

No: focus is defined to be assigned by the window manager to the currently active window. If the window manager changes the active window, then key focus is moved to the new active window. The toolkit has no say in that.

i work with Linux. I see when I do the same code in motif, the buttons are visible and in focus whether I click the mouse inside or outside.
However, with gtk-3, the buttons loses focus when I click the mouse outside.
I understand your answer on active windows. May be gtk-3 behavior is differnt from motif.
Thanks for your response,

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.