X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Ftext-controls%2Ftext-field.h;h=4f3da41f80e514c23c2e2649f80cb4fa09d91882;hb=526a64a21247c78086bbee7a2bcc7ca13142f3ed;hp=96de9825caef5f29b7aa6a9d8f623b68588f5dec;hpb=09f35f81061ca470e79ac674024b9e587ff44e7f;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/controls/text-controls/text-field.h b/dali-toolkit/public-api/controls/text-controls/text-field.h index 96de982..4f3da41 100644 --- a/dali-toolkit/public-api/controls/text-controls/text-field.h +++ b/dali-toolkit/public-api/controls/text-controls/text-field.h @@ -38,6 +38,7 @@ class TextField; * * Signals * | %Signal Name | Method | * |------------------------|-----------------------------------------------------| + * | text-changed | @ref TextChangedSignal() | * | max-length-reached | @ref MaxLengthReachedSignal() | * */ @@ -90,7 +91,8 @@ public: SELECTION_HANDLE_PRESSED_IMAGE_LEFT, ///< name "selection-handle-pressed-image-left" The image to display when the left selection handle is pressed, type STRING SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, ///< name "selection-handle-pressed-image-right" The image to display when the right selection handle is pressed, type STRING SELECTION_HIGHLIGHT_COLOR, ///< name "selection-highlight-color" The color of the selection highlight, type VECTOR4 - DECORATION_BOUNDING_BOX ///< name "decoration-bounding-box" The decorations (handles etc) will positioned within this area on-screen, type RECTANGLE + DECORATION_BOUNDING_BOX, ///< name "decoration-bounding-box" The decorations (handles etc) will positioned within this area on-screen, type RECTANGLE + INPUT_METHOD_SETTINGS ///< name "input-method-settings" The settings to relating to the System's Input Method, Key and Value type MAP }; }; @@ -108,6 +110,7 @@ public: // Type Defs /// @brief Max Characters Exceed signal type; + typedef Signal TextChangedSignalType; typedef Signal MaxLengthReachedSignalType; /** @@ -157,6 +160,17 @@ public: // Signals /** + * @brief This signal is emitted when the text changes. + * + * A callback of the following type may be connected: + * @code + * void YourCallbackName( TextField textField ); + * @endcode + * @return The signal to connect to. + */ + TextChangedSignalType& TextChangedSignal(); + + /** * @brief This signal is emitted when inserted text exceeds the maximum character limit. * * A callback of the following type may be connected: