MCPcopy Create free account
hub / github.com/KLayout/klayout / key_event

Function key_event

src/laybasic/laybasic/layViewObject.h:126–126  ·  view source on GitHub ↗

* @brief Key press event handler * * This method will be called by the ViewObjectWidget object to * dispatch key press events. * * The active service will receive that call and should return true * if the event is taken. Otherwise the event will be passed further. */

Source from the content-addressed store, hash-verified

124 * if the event is taken. Otherwise the event will be passed further.
125 */
126 virtual bool key_event (unsigned int /*key*/, unsigned int /*buttons*/) { return false; }
127
128 /**
129 * @brief Handler for the shortcut override event

Callers 3

key_eventMethod · 0.85
key_eventMethod · 0.85
send_key_press_eventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected