* limitations under the License.
*
*/
+// EXTERNAL INCLUDES
+#include <dali/devel-api/adaptor-framework/input-method-context.h>
// INTERNAL INCLUDES
#include <dali-toolkit/public-api/controls/text-controls/text-field.h>
namespace Property
{
- enum Type
+ enum
{
RENDERING_BACKEND = Dali::Toolkit::TextField::Property::RENDERING_BACKEND,
TEXT = Dali::Toolkit::TextField::Property::TEXT,
INPUT_EMBOSS = Dali::Toolkit::TextField::Property::INPUT_EMBOSS,
OUTLINE = Dali::Toolkit::TextField::Property::OUTLINE,
INPUT_OUTLINE = Dali::Toolkit::TextField::Property::INPUT_OUTLINE,
+ HIDDEN_INPUT_SETTINGS = Dali::Toolkit::TextField::Property::HIDDEN_INPUT_SETTINGS,
+ PIXEL_SIZE = Dali::Toolkit::TextField::Property::PIXEL_SIZE,
+ ENABLE_SELECTION = Dali::Toolkit::TextField::Property::ENABLE_SELECTION,
+ PLACEHOLDER = Dali::Toolkit::TextField::Property::PLACEHOLDER,
+ ELLIPSIS = Dali::Toolkit::TextField::Property::ELLIPSIS,
/**
- * @brief Hides the input characters and instead shows a default character for password or pin entry.
- * @details name "hiddenInputSettings", type map.
- * @SINCE_1_2.33
- * @note Optional.
- * @see HiddenInput
+ * @brief Enables Text selection using Shift key.
+ * @details Name "enableShiftSelection", type Property::BOOLEAN.
*/
- HIDDEN_INPUT_SETTINGS = INPUT_OUTLINE + 1,
+ ENABLE_SHIFT_SELECTION = ELLIPSIS + 1,
+
+ /**
+ * @brief Enables the grab handles for text selection.
+ * @details Name "enableGrabHandle", type Property::BOOLEAN.
+ * @note The default value is true, which means the grab handles are enabled by default.
+ */
+ ENABLE_GRAB_HANDLE = ELLIPSIS + 2
};
} // namespace Property
+/**
+ * @brief Return the input method context of TextField.
+ *
+ * @param[in] textField The instance of TextField.
+ * @return InputMethodContext instance.
+ */
+DALI_IMPORT_API InputMethodContext GetInputMethodContext( TextField textField );
+
} // namespace DevelText
} // namespace Toolkit