Re: Creating a non-focused window



"Tom Machinski" <tom machinski gmail com> writes:

On Fri, May 23, 2008 at 2:26 PM, Brian J. Tarricone <bjt23 cornell edu>
wrote:


Hmm, when I write basically the same thing as your Python implementation
in C, I get the same result as you -- the window grabs focus when it's
shown.


OK, so I've compiled and ran both your code below, and a slightly larger
example (the GTK tutorial "Hello World"), and both indeed gave the same
result that I got with my Python version: the newly created window grabbed
the focus. So at least we established this isn't a PyGTK bug :-)

I can't make this work in either lang.  
I can check that the flag is being set with
gtk_window_get_focus_on_map(), but it just doesn't do anything.

My suggestion is that you not do this.  <g>

-- 
Billy O'Connor



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