Displaying 1 result from an estimated 1 matches for "evt_keyxxx".
Did you mean:
  evt_key_xxx
  
2003 Nov 25
1
Does wxRuby have event masks or something similar?
I''m trying to capture character events on a frame, using the following
piece of
code (adapted from samples/etc/test.rb):
  def initialize(title)
    super(nil, -1, title, Wx::Point.new(-1,-1), Wx::Size.new(530,590),
Wx::DEFAULT_FRAME_STYLE | Wx::FRAME_SHAPED)
    evt_paint { onPaint }
    evt_char { | evt |
      puts "Got char evt: "+evt.to_s
      if evt.get_key_code.chr =~