February 14, 2006Display.addFilter
I'm trying to add actions and stuff to my program... something like GTK so I catch all the KeyDown-s with addFilter but I have one little problem... I want to notify the focused control before taking any action. I tried with notifyListeners (crash) and Display.post (fails). Any other suggestions? Maybe addFilter is not the best solution, but is there other way to catch the key presses of any widget?
Copyright © 1999-2017 by the D Language Foundation