wxRuby global hotkeys

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?

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!