Displaying 1 result from an estimated 1 matches for "key_kp_delet".
Did you mean:
key_kp_delete
2010 Apr 09
2
Problem detecting keypresses in FXTable
...s does not seem to work, however, as apparently keypresses are not
initially recognized. In my FXTable derived class I have:
connect(SEL_KEYRELEASE) do |sender, selector, event|
puts "code = #{''%X'' % event.code}"
case event.code
when KEY_Delete, KEY_KP_Delete
puts "Delete key hit"
# process...
# ...
end
end
When I left-click on a row header, the row gets properly selected and
highlighted, but hitting any key does not result in being recognized
(i.e., the messages above do not appear). If I then clic...