* | %Signal Name | Method |
* |----------------------|-----------------------------------|
* | keyInputFocusChanged | @ref KeyInputFocusChangedSignal() |
- * | unhandledKeyEvent | @ref UnhandledKeyEventSignal() |
*/
class DALI_IMPORT_API KeyInputFocusManager : public BaseHandle
{
// KeyInputFocusChanged
typedef Signal< void (Control, Control) > KeyInputFocusChangedSignalType;
- // Unhandled Key Event
- typedef Signal< void (const KeyEvent&) > UnhandledKeyEventSignalType;
-
public:
/**
*/
void RemoveFocus(Control control);
- /**
- * Queries whether a control is currently part of the focus stack.
- * @param [in] control which should be queried.
- * @return True if it is part of the foucus stack False otherwise.
- */
- bool IsKeyboardListener(Control control);
-
public: // Signals
/**
*/
KeyInputFocusChangedSignalType& KeyInputFocusChangedSignal();
- /**
- * This signal is emitted when a key event was received, and none of the focused controls on the stage have consumed it.
- * A callback of the following type may be connected:
- * @code
- * void YourCallbackName(const KeyEvent& event);
- * @endcode
- * @return The signal to connect to.
- */
- UnhandledKeyEventSignalType& UnhandledKeyEventSignal();
-
private:
explicit DALI_INTERNAL KeyInputFocusManager(Internal::KeyInputFocusManager *impl);