X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-field-devel.h;h=c81210a58db27deb5112dc9852ea78753d53579e;hp=1c711a824f60a5eda08f9bae0cf422e8061e075b;hb=ff6ce970724ccc8bee65f7c93411b274907c09d7;hpb=895806b4ad86de88dcc731aeb8e3dbe453ce4202 diff --git a/dali-toolkit/devel-api/controls/text-controls/text-field-devel.h b/dali-toolkit/devel-api/controls/text-controls/text-field-devel.h index 1c711a8..c81210a 100644 --- a/dali-toolkit/devel-api/controls/text-controls/text-field-devel.h +++ b/dali-toolkit/devel-api/controls/text-controls/text-field-devel.h @@ -242,6 +242,13 @@ enum * The default value is 0.f which does nothing. */ CHARACTER_SPACING, + + /** + * @brief Sets the selection popup style + * @details Name "selectionPopupStyle", type Property::MAP. + * @see Dali::Toolkit::TextSelectionPopup::Property + */ + SELECTION_POPUP_STYLE, }; } // namespace Property @@ -365,6 +372,23 @@ using SelectionClearedSignalType = Signal; DALI_TOOLKIT_API SelectionClearedSignalType& SelectionClearedSignal(TextField textField); /** + * @brief selection start signal type. + */ +using SelectionStartedSignalType = Signal; + +/** + * @brief This signal is emitted when the selection start. + * + * A callback of the following type may be connected: + * @code + * void YourCallbackName( TextField textField); + * @endcode + * @param[in] textField The instance of TextField. + * @return The signal to connect to + */ +DALI_TOOLKIT_API SelectionStartedSignalType& SelectionStartedSignal(TextField textField); + +/** * @brief Get the rendered size of a specific text range. * if the requested text is at multilines, multiple sizes will be returned for each text located in a separate line. * if a line contains characters with different directions, multiple sizes will be returned for each block of contiguous characters with the same direction.