# wxRuby global hotkeys

**URL:** <https://www.ruby-forum.com/t/wxruby-global-hotkeys/204060>\
**Category:** wxRuby\
**Created:** [March 4, 2011, 7:18am UTC](https://www.ruby-forum.com/t/wxruby-global-hotkeys/204060 "2011-03-04T07:18:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 4, 2011, 7:18am UTC](https://www.ruby-forum.com/t/wxruby-global-hotkeys/204060/1 "2011-03-04T07:18:57Z")

</div>

Is it possible to assign global hotkeys in wxRuby, I want to show window  
when user presses key combination?  
I’ve found that there is a Window#register\_hot\_key method - is this  
method cross-platform?

---

<div class="post-metadata">

**Author:** ![galymzhan\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/58956e/32.png) [@galymzhan\_k](https://www.ruby-forum.com/u/galymzhan_k)\
**Post date:** [April 27, 2011, 1:00am UTC](https://www.ruby-forum.com/t/wxruby-global-hotkeys/204060/2 "2011-04-27T01:00:02Z")

</div>

I’m also interested in how this works in wxRuby. This is a feature that  
i’m looking for, and the documentation isn’t exactly great. It would be  
greatly appreciated if someone could point us in the right direction.  
Thank you!
