Commit Graph

96 Commits

Author SHA1 Message Date
Jihoon Kim ac16bd6fe6 entry: Add elm_entry_select_region_set API
Summary:
in case of GTK, it provides API to select a region of text (gtk_editable_select_region).
However, there are only API to select all or none in EFL.
This API will provide the way to select a region of text.

Test Plan: elementary_test > entry3 > press 'Region' button

Reviewers: woohyun, tasn, id213sin

Reviewed By: tasn

Differential Revision: https://phab.enlightenment.org/D520
2014-02-05 10:16:13 +00:00
Youngbok Shin d91f85c967 When the viewport is resized, the entry size will be recalculate.
Using the elm_scrollable_interface_content_viewport_resize_cb_set in
scrollable entry widget. this only happens in mobile profile when you
drag the content with your finger left/right when the content is
smaller than the gap between icons.

This accepts D187
2014-01-10 16:39:06 +09:00
Jihoon Kim 8de371066e elm_test: use EINA_TRUE or FALSE instead of 1 or 0 2014-01-07 16:48:58 +09:00
Youngbok Shin 205c264449 entry - Add "rejected" smart callback in "elm_entry_filter_accept_set"
Summary:
Add "rejected" smart callback.
Applications using the *filter_accept_set didn't know when the input was rejected.
This smart callback can provide a simple information to applications.

Reviewers: woohyun, tasn, seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D413
2013-12-30 18:25:16 +09:00
Daniel Juyung Seo 6ad3ca17ed elm_test: clean up some elm_object_focus_set() usage.
- moved around the code to gather the same objects together.
- removed unnecessary focus set to a wrong object.
2013-12-15 06:57:19 +09:00
Daniel Juyung Seo d955c579ca elm_test: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:08 +09:00
Daniel Juyung Seo d5a74454ee elm_test: call evas_object_show(win) after its content creation.
- refer commit 64fd5a825b24591aedb9cac695d03f5b4d867442 for the detail
explanation.
- also move evas_object_resize(win, xx) alongside evas_object_show(win).
2013-12-15 05:47:39 +09:00
Jean-Philippe Andre 877e122e7a elementary_test: remove ELM_LIB_QUICKLAUNCH
Refer to the previous commits for the reason.
Remove all #ifndef ELM_LIB_QUICKLAUNCH from the test files.
2013-11-05 10:05:01 +09:00
Daniel Juyung Seo 83db5ad972 elm_test: __UNUSED__ -> EINA_UNUSED. 2013-09-01 10:18:03 +09:00
Ryuan Choi 95cd308e26 elm_entry: "elm.guide" part should be aligned to "elm.text" part.
Attached test code for guide part.
In addition, updated supported part for "guide" in documentation.
2013-08-23 10:59:53 +09:00
Carsten Haitzler 56d4729538 Change description:
Issue: Currently There is no possibility in entry to get currently
selected context menu item’s contents i.e., Label, icon etc:- due
to this issue a separate callback has to be added per item or the
item's contents has to be sent in data.

Fix: This patch fixes this problem by sending item pointer as
event_info and providing APIs to access the item pointer. This fix is
very useful for applications which add their own context menu items to
entry's context menu.

Signed-off by: Shilpa Singh(shilpa.singh@samsung.com)
2013-02-27 21:06:05 +09:00
Daniel Juyung Seo 22fe887792 elm test_entry.c: Added 'activated' smart callback usage.
SVN revision: 81797
2012-12-28 12:19:20 +00:00
Daniel Juyung Seo 50ed3557f2 elm test_entry.c: Added entry emoticon sample.
SVN revision: 80062
2012-12-03 12:49:13 +00:00
Daniel Juyung Seo 264bbe0d8f elm test: Correct elm_win_resize_object_set() usage. Call evas_object_size_hint_weight_set() before calling elm_win_resize_object_set().
SVN revision: 79281
2012-11-14 10:49:45 +00:00
Jihoon Kim 0d8c7eb1fd elementary: fix typo in entry test
SVN revision: 78595
2012-10-29 00:30:51 +00:00
Gustavo Lima Chaves a9b1707fcd [elm] Entry now a scrollable layout.
SVN revision: 75890
2012-08-30 16:45:15 +00:00
Christopher Michael 75ab98f209 Elm: Remove mixed_wrap line. Ooopsie, that one should not have gone
in. Was a left over from some testing here.



SVN revision: 75259
2012-08-14 13:08:16 +00:00
Christopher Michael 02a122ac70 Elm: Fix test_entry 8 to not shrink the entry when you start entering
text into it. Not sure who the brain surgeon was that thought using a
box here was a good idea, but their surgery license should be revoked ;)



SVN revision: 75258
2012-08-14 13:01:02 +00:00
Jihoon Kim bdeb7e7b07 test_entry.c: fix formatting
SVN revision: 71568
2012-05-30 23:59:08 +00:00
thiep ha 06f5dda19b From: thiep ha <thiep.ha@samsung.com>
Subject: Re: [E-devel] [Patch] [elm_entry] New APIs for user style

Thank you for your comments.
I would like to send you the modified patch.
Followings are my modification:
- Add my part to ChangeLog, AUTHORS files as Raster's comment.
- Add const to the parameter of elm_entry_text_style_user_peek and
example for pop and peek to test_entry_style_user as Daniel's comment.



SVN revision: 71557
2012-05-30 12:18:48 +00:00
Carsten Haitzler d1d9ba3e19 fix non-premul color sets! :(
SVN revision: 70454
2012-04-25 03:48:55 +00:00
Carsten Haitzler ddf6442fb6 support "guide text" for entries. trivial internal + theme changes :)
SVN revision: 69961
2012-04-09 05:25:27 +00:00
Daniel Juyung Seo a333781964 elm test_entry.c: Fixed formatting.
SVN revision: 69951
2012-04-06 08:14:10 +00:00
Daniel Juyung Seo 7f2fc8ef80 elm bin: Use convenient utility function elm_win_util_standard_add()
instead of elm_win_add() + elm_bg_add(). This is for normal style
(ELM_WIN_BASIC) window.

SVN revision: 69848
2012-04-02 06:20:28 +00:00
Daniel Juyung Seo e838d6d2f2 Revert a wrong commit. Un-wanted files are committed together.
Revert "elm bin: Use convenient utility function elm_win_util_standard_add() instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window."

This reverts commit 31b24a0edb0028528d7c859070e03236ba42867b.

SVN revision: 69847
2012-04-02 06:20:22 +00:00
Daniel Juyung Seo b4308ab089 elm bin: Use convenient utility function elm_win_util_standard_add() instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window.
SVN revision: 69845
2012-04-02 06:07:58 +00:00
Mike Blumenkrantz cf8ab5c674 for the last time: CONFIG.H ALWAYS GETS INCLUDED FIRST. AAAAAAAALLLLLLLLLLLLLLLLLLLLLLLWAAAAAAAAAAAAAAAAAAAAAAAAAAAYYYYYYYYYYYYYYYYYYYYYSSSSSSSSSSSSSSSSSSS
SVN revision: 69764
2012-03-29 19:27:13 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
Jihoon Kim b8e7f1b0ad elementary_test: fix formatting test_entry.c
SVN revision: 69060
2012-03-08 14:59:38 +00:00
Jihoon Kim d33a351623 elm_entry/test: replace scrolled entry -> entry
SVN revision: 69059
2012-03-08 14:08:04 +00:00
cnook 350dbe0946 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary_test] test_entry

I have attached a patch for test_entry. Please check this and give any
feedbacks. Thank you.



SVN revision: 68390
2012-02-24 07:41:38 +00:00
Daniel Juyung Seo b9b1500804 elm test_entry.c: Revised code.
1. Formatting.
2. Use scrollerble entry instead of entry + scroller.
3. Use elm_bg instead of evas_object_rect.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68375
2012-02-24 02:54:03 +00:00
cnook 1f7f39f66d From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary_test] test_box

Please review the attached patch and give any feedbacks. Thanks.



SVN revision: 68268
2012-02-22 12:33:25 +00:00
Jihoon Kim e95974c024 elementary_test: change 0 -> EINA_FALSE, 1 -> EINA_TRUE
SVN revision: 67999
2012-02-16 04:55:08 +00:00
WooHyun Jung fcffc57076 [elementary/entry] Add elm_entry_markup_filter_append/prepend/remove
and make elm_entry_text_filter_append/prepend/remove be deprecated. In
a filter function appended by elm_entry_text_filter_append, the type of text can
be format, text, or markup. So correct filtering is impossible. But
with elm_entry_markup_filter_append, the type is always markup.


SVN revision: 67747
2012-02-08 07:23:08 +00:00
Jihoon Kim d2e3c6f9ec test_entry.c: Oops. remove some test code.
SVN revision: 67730
2012-02-07 12:00:28 +00:00
Jihoon Kim 66f88f28da test_entry.c: add test code related to elm_entry_input_panel_enabled_set
SVN revision: 67729
2012-02-07 11:24:39 +00:00
ChunEon Park 0640b3d90b elementary/entry - more deprecated APIs
elm_entry_icon_set/get/unset
elm_entry_end_set/get/unset



SVN revision: 66991
2012-01-09 10:33:59 +00:00
Carsten Haitzler f6a3fc40e1 stop using deprecated calls.
SVN revision: 66681
2011-12-30 10:02:19 +00:00
Tom Hacohen c45ce564dc Elm test: Update tests to use the new self-closing textblock tags.
SVN revision: 66026
2011-12-08 12:39:18 +00:00
Boris Faure 1112d30a41 elm: change elm_object_content_part_set/get/unset to elm_object_part_content_set/get/unset
SVN revision: 65349
2011-11-17 21:02:31 +00:00
ChunEon Park dc180b67ce elementary/layout - deprecated elm_layout_content_set/get_unset
SVN revision: 64403
2011-10-26 00:46:16 +00:00
Jérémy Zurcher a0366f0ef1 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] patch : eina_prefix + elementary_test

please find attached a small patch for eina_prefix

it prevent segfault when for instance
no elm_app_compile_*_dir_set is called prior to elm_app_info_set

and another one for elementary/src/bin/test*.c which tends to replace
usage of PACKAGE_DATA_DIR with elm_app_data_dir_get



SVN revision: 62796
2011-08-25 10:01:59 +00:00
Daniel Juyung Seo 4d7cb59930 elm src/bin: Applied elm_object_focus API change. Changed it to elm_object_focus_set.
SVN revision: 62062
2011-08-03 15:01:39 +00:00
Daniel Juyung Seo d473e343eb elm test: Refactoring. Changed 1 to EINA_TRUE for Eina_Bool parameter of elm_win_autodel_set() API.
SVN revision: 61695
2011-07-25 14:22:19 +00:00
Daniel Juyung Seo 3a0636d1f1 elm: Removed trailing whitespaces.
SVN revision: 60952
2011-07-03 07:49:02 +00:00
Tom Hacohen 36be2846c9 Elm button: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60800
2011-06-29 07:11:54 +00:00
Carsten Haitzler c44f45485f big move forward. scrolled entry and entry merge into entry. entry now
can be scrollable or not. scrolled entry now just calls entry calls
and is marked as dperecated to be killed off in the future so no need
to document it etc. edje external also goes.



SVN revision: 60438
2011-06-17 09:44:31 +00:00
Daniel Juyung Seo 04b491da11 Elementary: Changed homogenous to homogeneous.
Deprecated existing APIs but not removed them. They will be removed
sometime later or when elm 1.0 is released. And added new APIs.
I fixed box, table and toolbar. I will modify other codes in trunk soon.


SVN revision: 59160
2011-05-04 04:53:39 +00:00
Tom Hacohen 9466cbcea3 Elementary: Use an enum for selecting line-wrap method.
BREAKS API - discussed in ML before.

SVN revision: 59115
2011-05-02 10:56:16 +00:00