EVT_KEY_UP and Creating windows

Użytkownik Robin Dunn napisał:

MichaĹ? Raburski wrote:

Hi to everybody :slight_smile:
I hope i don't spam here :smiley:
If I'm - tell me so.

I use Boa-constructor 0.3.1, wx 2.4 and python 2.3.

I'have 2 big problems in my application :

1. My EVT_KEY_UP on wxTextCtrl works only when mouse pointer is on the
active window. If i'll move it outside the window (with no clicking)
it doesn't work. And if i move mouse pointer back on the window - it
works.

Anyone know why???

What platform? If on X Windows do you have the focus-follows-mouse setting turned on?

Yes on X Windows. But where can I turn it off? :smiley:
I can't find it. :frowning:

U¿ytkownik Robin Dunn napisa³:

MichaÅ? Raburski wrote:

Hi to everybody :slight_smile:
I hope i don't spam here :smiley:
If I'm - tell me so.

I use Boa-constructor 0.3.1, wx 2.4 and python 2.3.

I'have 2 big problems in my application :

1. My EVT_KEY_UP on wxTextCtrl works only when mouse pointer is on the
active window. If i'll move it outside the window (with no clicking)
it doesn't work. And if i move mouse pointer back on the window - it
works.

Anyone know why???

What platform? If on X Windows do you have the focus-follows-mouse
setting turned on?

Yes on X Windows. But where can I turn it off? :smiley:
I can't find it. :frowning:

What window manager are you using?

Try read your window manager documentation.

Ricardo

Użytkownik Ricardo Pedroso napisał:

Użytkownik Robin Dunn napisał:

MichaĹ? Raburski wrote:

Hi to everybody :slight_smile:
I hope i don't spam here :smiley:
If I'm - tell me so.

I use Boa-constructor 0.3.1, wx 2.4 and python 2.3.

I'have 2 big problems in my application :

1. My EVT_KEY_UP on wxTextCtrl works only when mouse pointer is on the
active window. If i'll move it outside the window (with no clicking)
it doesn't work. And if i move mouse pointer back on the window - it
works.

Anyone know why???
       

What platform? If on X Windows do you have the focus-follows-mouse
setting turned on?

Yes on X Windows. But where can I turn it off? :smiley:
I can't find it. :frowning:

What window manager are you using?

Try read your window manager documentation.

Ricardo

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

I use either kde or fluxbox, but everywhere it works the same.
I'll see some manuals then :slight_smile:

Thx

BTW : Anyone knows how to solve my second problem :slight_smile:

What window manager are you using?

Try read your window manager documentation.

Ricardo

I use either kde or fluxbox, but everywhere it works the same.
I'll see some manuals then :slight_smile:

Thx

BTW : Anyone knows how to solve my second problem :slight_smile:

For KDE in the Control Center go to: Desktop -> Window behavior.
In the focus tab you have the focus policy.

Ricardo

For KDE in the Control Center go to: Desktop -> Window behavior.
In the focus tab you have the focus policy.

Thanks. I've found all options. Unfortunatelly in KDE and in Fluxbox i've it set for ClickToFocus. And I still don't know what to do... :slight_smile: