MCPcopy Create free account
hub / github.com/davisking/dlib / wait_for_keypress_other

Function wait_for_keypress_other

tools/python/src/gui.cpp:120–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void wait_for_keypress_other(image_window& win, const base_window::non_printable_keyboard_keys wait_key) {
121 unsigned long key;
122 bool is_printable;
123 while(win.get_next_keypress(key,is_printable))
124 {
125 if (!is_printable && key == wait_key)
126 return;
127 }
128}
129
130py::object get_next_double_click(image_window& win) {
131 point p;

Callers

nothing calls this directly

Calls 1

get_next_keypressMethod · 0.80

Tested by

no test coverage detected