Method: Fox::FXWindow#remHotKey

Defined in:
rdoc-sources/FXWindow.rb

#remHotKey(code) ⇒ Object

Remove this hot key from the closest ancestor’s accelerator table.



355
356
357
358
359
360
361
362
363
364
# File 'rdoc-sources/FXWindow.rb', line 355

def remHotKey(code)
  accel = nil
  win = self
  while win && (accel = win.accelTable).nil?
    win = win.parent
  end
  if accel
    accel.removeAccel(code)
  end
end