MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / IsModifierSet

Method IsModifierSet

cpp/webdriver-interactions/interactions_linux.cpp:263–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263bool KeypressEventsHandler::IsModifierSet(guint gdk_key)
264{
265 list<XModifierKey>::iterator it =
266 find_if(modifiers_.begin(), modifiers_.end(),
267 bind2nd(mem_fun_ref(&XModifierKey::KeyMatches), gdk_key));
268
269 if (it == modifiers_.end()) {
270 return false;
271 }
272
273 return it->get_toggle();
274}
275
276void KeypressEventsHandler::StoreModifierKeyState(guint gdk_mod_key)
277{

Callers

nothing calls this directly

Calls 2

endMethod · 0.80
get_toggleMethod · 0.80

Tested by

no test coverage detected