I might have asked this before, but due to unreasonable, unexplainable, unbearable, and under water reasons, I lost the answer. I want to use the PrtScn button, but do not seem to know what key to use for that. I tried PRINT, and PRTSCN, but none seem to work. Anyone any idea?
I might have asked this before, but due to unreasonable,
unexplainable, unbearable, and under water reasons, I lost
the answer. I want to use the PrtScn button, but do not seem
to know what key to use for that. I tried PRINT, and PRTSCN,
but none seem to work. Anyone any idea?
You can trap it by binding EVT_KEYDOWN, it is KeyCode 321.
I might have asked this before, but due to unreasonable,
unexplainable, unbearable, and under water reasons, I lost
the answer. I want to use the PrtScn button, but do not seem
to know what key to use for that. I tried PRINT, and PRTSCN,
but none seem to work. Anyone any idea?
You can trap it by binding EVT_KEYDOWN, it is KeyCode 321.
Which is the value of wx.WXK_PRINT. The problem that Dick is probably seeing is that the platform may be stealing that key event to implement a screen capture feature. For example, run the KeyEvents sammple from the demo and press PrintScreen. On my Linux box the KSnaphhot utility is launched by default and I never see the key down event, but I do see the key up.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I might have asked this before, but due to unreasonable,
unexplainable, unbearable, and under water reasons, I lost
the answer. I want to use the PrtScn button, but do not seem
to know what key to use for that. I tried PRINT, and PRTSCN,
but none seem to work. Anyone any idea?
You can trap it by binding EVT_KEYDOWN, it is KeyCode 321.
Which is the value of wx.WXK_PRINT. The problem that Dick is probably seeing is that the platform may be stealing that key event to implement a screen capture feature. For example, run the KeyEvents sammple from the demo and press PrintScreen. On my Linux box the KSnaphhot utility is launched by default and I never see the key down event, but I do see the key up.