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

Method IsActivated

cpp/imehandler/linux/src/ibushandler.cpp:100–111  ·  view source on GitHub ↗

* returns true if IME input is active, false otherwise. */

Source from the content-addressed store, hash-verified

98 * returns true if IME input is active, false otherwise.
99 */
100bool IBusHandler::IsActivated() const {
101 if (! ibus_available_) {
102 return false;
103 }
104
105 IBusInputContext* context = GetCurrentInputContext();
106 if(context == NULL) {
107 return false;
108 }
109
110 return ibus_input_context_is_enabled(context);
111};
112
113/*
114 * Deactivates the current input context, hence switching back to the previous

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected