return Internal::Adaptor::InputMethodContext::GetImplementation(*this).GetInputPanelLanguage();
}
+void InputMethodContext::SetInputPanelPosition( unsigned int x, unsigned int y )
+{
+ Internal::Adaptor::InputMethodContext::GetImplementation(*this).SetInputPanelPosition( x, y );
+}
+
// Signals
InputMethodContext::ActivatedSignalType& InputMethodContext::ActivatedSignal()
{
*/
InputPanelLanguage GetInputPanelLanguage() const;
+ /**
+ * @brief Sets the x,y coordinates of the input panel.
+ *
+ * @param[in] x The top-left x coordinate of the input panel
+ * @param[in] y The top-left y coordinate of the input panel
+ */
+ void SetInputPanelPosition( unsigned int x, unsigned int y );
+
public:
// Signals
*/
virtual Dali::InputMethodContext::InputPanelLanguage GetInputPanelLanguage() const { return Dali::InputMethodContext::InputPanelLanguage(); }
+ /**
+ * @copydoc Dali::InputMethodContext::SetInputPanelPosition()
+ */
+ virtual void SetInputPanelPosition( unsigned int x, unsigned int y ) {}
+
public: // Signals
/**
return Dali::InputMethodContext::InputPanelLanguage::AUTOMATIC;
}
+void InputMethodContextEcoreWl::SetInputPanelPosition( unsigned int x, unsigned int y )
+{
+ DALI_LOG_INFO( gLogFilter, Debug::General, "InputMethodContextEcoreWl::SetInputPanelPosition\n" );
+
+ if( mIMFContext )
+ {
+ ecore_imf_context_input_panel_position_set( mIMFContext, x, y );
+ }
+}
+
bool InputMethodContextEcoreWl::ProcessEventKeyDown( const KeyEvent& keyEvent )
{
bool eventHandled( false );
*/
Dali::InputMethodContext::InputPanelLanguage GetInputPanelLanguage() const override;
+ /**
+ * @copydoc Dali::InputMethodContext::SetInputPanelPosition()
+ */
+ void SetInputPanelPosition( unsigned int x, unsigned int y ) override;
+
private:
/**
* Context created the first time and kept until deleted.
return Dali::InputMethodContext::InputPanelLanguage::AUTOMATIC;
}
+void InputMethodContextX::SetInputPanelPosition( unsigned int x, unsigned int y )
+{
+ DALI_LOG_INFO( gLogFilter, Debug::General, "InputMethodContextX::SetInputPanelPosition\n" );
+
+ // ecore_imf_context_input_panel_position_set() is supported from ecore-imf 1.21.0 version.
+}
+
bool InputMethodContextX::ProcessEventKeyDown( const KeyEvent& keyEvent )
{
bool eventHandled( false );
*/
Dali::InputMethodContext::InputPanelLanguage GetInputPanelLanguage() const override;
+ /**
+ * @copydoc Dali::InputMethodContext::SetInputPanelPosition()
+ */
+ void SetInputPanelPosition( unsigned int x, unsigned int y ) override;
+
private:
/**
* Context created the first time and kept until deleted.
return Dali::InputMethodContext::InputPanelLanguage::AUTOMATIC;\r
}\r
\r
+void InputMethodContextWin::SetInputPanelPosition( unsigned int x, unsigned int y )\r
+{\r
+ DALI_LOG_INFO( gLogFilter, Debug::General, "InputMethodContextWin::SetInputPanelPosition\n" );\r
+}\r
+\r
bool InputMethodContextWin::ProcessEventKeyDown( const KeyEvent& keyEvent )\r
{\r
bool eventHandled( false );\r
*/\r
Dali::InputMethodContext::InputPanelLanguage GetInputPanelLanguage() const override;\r
\r
+ /**\r
+ * @copydoc Dali::InputMethodContext::SetInputPanelPosition()\r
+ */\r
+ void SetInputPanelPosition( unsigned int x, unsigned int y ) override;\r
+\r
private:\r
/**\r
* Context created the first time and kept until deleted.\r