Lukasz Stanislawski
09b9ef0bc0
atspi: expose more actions through atspi bus.
...
Summary:
Main purpose of exposing widget actions and keyboard shortcuts
is to allow accessibility clients to implement alternative methods
of GUI navigation.
Reviewers: z.kosinski
Reviewed By: z.kosinski
Subscribers: seoz
Differential Revision: https://phab.enlightenment.org/D1227
2014-07-25 11:58:16 +02:00
Zbigniew Kosinski
9ce23f0004
atspi:Set roles for widgets
...
Reviewers: stanluk, m.jagiello, raster
Differential Revision: https://phab.enlightenment.org/D930
2014-06-11 11:07:16 +09:00
Tom Hacohen
efa41c7d75
Elm: Update code to use the new class names generated by eolian.
2014-06-03 11:54:44 +01:00
Amitesh Singh
e6748f033a
hoversel: Icon parent set to button.
...
Summary: This is an optimization over parent set to hoversel object.
Reviewers: seoz, raster
CC: seoz
Differential Revision: https://phab.enlightenment.org/D853
2014-05-15 12:09:33 +09:00
Amitesh Singh
d7e56fb837
hoversel: item-loop should happen on UP/DOWN Key in case of vertical hoversel and on LEFT/RIGHT Key in case of horizontal hoversel.
...
Summary:
Earlier focus was moving to top item from bottom item on LEFT key and to bottom item on RIGHT Key
in case of vertical hoversel.
@fix
Test Plan: elementary_test -to "Hoversel Focus"
Reviewers: raster, seoz
Reviewed By: seoz
CC: seoz, chinmaya061
Differential Revision: https://phab.enlightenment.org/D858
2014-05-14 21:50:31 +09:00
Daniel Zaoui
1303a6dbec
Eolian: fix names for elc widgets.
...
Even if the file names are elc_..., the class names are supposed to be
elm_...
2014-04-22 16:39:35 +03:00
ChunEon Park
5ab6a7739f
widgets - don't handle the events(key,mouse) if the object is disabled.
...
we can prevent to handle the widget events from the widget infra,
if the object is disabled.
conceptually, disabled object should not be interacted to user input(key, mouse)
2014-04-16 10:59:43 +09:00
Jaeun Choi
e6d6066581
hoversel: apply key binding
...
Summary: This patch applied key bindiing to elc_hoversel.
Test Plan: None
Reviewers: Hermet, raster
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D729
2014-04-15 14:40:38 +09:00
Tom Hacohen
4a3a802a5d
hoversel: Adjusted to Eo2.
2014-04-10 09:34:59 +01:00
Daniel Zaoui
c48c2e2608
Eolian: Integration of Hoversel
2014-03-23 14:17:38 +02:00
Daniel Zaoui
e2206a1a22
Eolian: Integration of Elm Widget
2014-03-17 09:03:56 +02:00
Daniel Juyung Seo
1a29ad5679
elm: removing trailing white space ceremony for 1.9 release.
2014-03-02 00:52:26 +09:00
Amitesh Singh
d8ec1e5dde
hoversel: Added "item,focused" and "item,unfocused" smart events for widget items.
...
@feature
Test Plan: elementary_test->hoversel focus
Reviewers: seoz, woohyun
CC: nirajkr
Differential Revision: https://phab.enlightenment.org/D564
2014-02-26 01:26:49 +09:00
Jaehwan Kim
db23689614
access: Add smart signal "access,changed"
...
It occurs that access mode is changed.
Application can add this callback for each widget.
2014-02-08 14:05:14 +09:00
Daniel Juyung Seo
18f5c6b19c
hoversel: Removed unnecessary null check for elm_object apis.
2014-02-03 14:58:08 +09:00
ChunEon Park
f8d00ae0f2
elementary - override widget translation but work also the base widget's behavior.
...
Some widgets override the widget translation but it didn't inherit the base widget's function.
Becuase of it,The language changed won't be properly called in the widget tree.
Now it fixed it.
2014-01-23 20:20:43 +09:00
ChunEon Park
39ad0e358e
elementary - support language changed callback from a few widgets.
...
support a language,changed callback if a widget has the text part in default.
2014-01-23 20:07:20 +09:00
Daniel Juyung Seo
db5fe2581d
elm: Removed unnecessary null check for evas_object_del.
2014-01-22 10:54:52 +09:00
Yakov Goldberg
3379c124df
all widgets: change Eo API for "elm_widget_theme()" to "theme_apply"
...
There are elm_widget_theme/theme_set/theme_get functions.
In Eolian these functions will be described as "theme" method and
"theme" property. There is clash here.
So add suffix "_apply" to Eo API for "elm_widget_theme".
2014-01-21 11:08:29 +02:00
Daniel Juyung Seo
fd5c046dfe
elm: Changed __UNUSED__ to EINA_UNUSED.
2014-01-06 23:33:57 +09:00
Chinmaya Panigrahi
28a9e53e08
[Hoversel]: Added NULL check
...
Summary: Added NULL check
Test Plan: elementary_test -to hoversel
Reviewers: seoz, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D427
2013-12-31 13:12:20 +09:00
ami
02edf1abdb
[hoversel] - Added evas smart signal "expanded" in hoversel. This patch depends on D373.
...
Test Plan: elementary_test -to Hoversel, Click on "Custom Item Style".
Reviewers: seoz, raster, cedric
Reviewed By: raster
Differential Revision: https://phab.enlightenment.org/D381
2013-12-28 17:48:11 +09:00
Chinmaya Panigrahi
5a3fea6a28
[Hoversel] Making focus cyclic for hoversel items.
...
Summary: Focus cyclic feature on hoversel items.
Test Plan: elementary_test -to "Hoversel Focus"
Reviewers: seoz, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D377
2013-12-28 17:21:23 +09:00
ami
afa4398ce2
[elm_object_item] - Added elm_object_item_style_set/elm_object_item_style_get().
...
Reviewers: seoz, raster
CC: aryarockstar, nirajkr, chinmaya061
Differential Revision: https://phab.enlightenment.org/D373
2013-12-27 20:00:04 +09:00
Daniel Juyung Seo
6d71a23c3a
elm lib: removed all the unnecessary empty lines.
...
being pedantic.
2013-12-15 06:18:35 +09:00
ami
7dbda5f2d3
[hoversel] - Removed focus_direction since focus_cycle is applied on sd->hover.
...
Summary: removed focus_direction
Test Plan: elementary_test -> hoversel
Reviewers: seoz, raster
CC: nirajkr
Differential Revision: https://phab.enlightenment.org/D359
2013-11-30 15:34:55 +09:00
Tom Hacohen
28fee48f35
Hoversel: Fix access to already deleted object.
...
Thank you eo pointer indirection for detecting this.
The issue is a mix of design choices (will discuss on the ML) and
a bug in hoversel which was probably caused because of the confusing design
choices.
The problem is that while widget_item->view is set by whoever created
the item, it's automatically deleted by elm_widget_item_del. This means
that objects that decided to delete their views, but were too sloppy to
update the widget_item->view pointer to NULL, would trigger an attempt
to deleted an already deleted object. This does not happen in 1.7
because widget_item->view was introduced in 1.8.
The automatic view deletion is problematic, as smart subobjects are
already deleted when the parent subobject (the widget) is deleted. So
clearing the views is redundant. However if the widget item is manually
deleted, the view should be deleted. This causes this mixture of cases
that are problematic at best.
Indication error:
Error:
ERR<5394>:eo lib/eo/eo_ptr_indirection.x:275 eo_obj_pointer_get()
obj_id 0x8000002900000149 is not pointing to a valid object. Maybe
it has already been freed.
This fixes T500.
2013-11-19 17:13:31 +00:00
Daniel Juyung Seo
c70405bdde
elc_hoversel.c: use int_ret instead of ret because ret can be null.
...
This fixes coverity CID 1129609 and 1129610.
2013-11-18 22:33:37 +09:00
Amitesh Singh
08936d7f38
[hoversel] - Added focus support on hoversel items.
...
Summary: Focus support on hoversel items.
Test Plan: elementary_test->hoversel2
Reviewers: seoz, raster, Hermet
CC: nirajkr
Differential Revision: https://phab.enlightenment.org/D316
2013-11-13 20:39:48 +09:00
Tom Hacohen
2f1e1554e5
Changed Eo class names to be consistent.
...
All the class names are now of the format: Elm_Type_Subtype_Extra
2013-11-07 11:44:22 +00:00
Daniel Juyung Seo
07136563ea
elc_hoversel: Support elm_object_item_signal_emit() in hoversel.
...
This works only when the item is actually created by clicking the hover button.
2013-10-14 13:56:27 +09:00
Daniel Juyung Seo
5788a3583c
elc_hoversel.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:12:44 +09:00
Cedric Bail
29af5e1e43
elementary: update to new eo_parent_get/set API.
2013-09-25 13:34:27 +09:00
Daniel Juyung Seo
3e8e2b2abd
hoversel: flurish hoversel source/example/documentation a little bit more.
...
1. fixed documentation to be more descriptive.
2. added hoversel smart callback examples.
3. added internal callback description.
2013-08-30 18:31:29 +09:00
ChunEon Park
fe0f0a445e
elementary/widgets - set parents before widget constructs their body.
...
This avoids unnecessary setups again when obj <-> sub has connected.
2013-08-27 00:29:45 +09:00
Cedric Bail
c929b33052
elementary: properly sanitize headers order.
2013-05-03 16:07:06 +09:00
Daniel Zaoui
187d6bf8de
Elementary: replace eo_data_get for objects data referencing.
2013-05-01 11:04:09 +03:00
ChunEon Park
ff10726141
elementary/ctxpopup, hoversel, naviframe, multibuttonentry, popup, diskselector, list, menu, segment_control, toolbar - support widget item language change
2013-04-23 20:30:15 +09:00
Daniel Juyung Seo
bd5246c512
elc_hoversel.c: hide hover object when hoversel is hidden.
2013-04-09 13:14:21 +09:00
Daniel Juyung Seo
2a68a17fe6
elc_hoversel.c: Do not add hover as a hoversel's smart member. Handle show/hide manually.
...
Hover is a *HOVER* object so do not add hover to another object's smart member.
It will restrict the layer of hover object.
Manually handle show/hide instead.
2013-04-03 14:46:14 +09:00
Daniel Juyung Seo
3aa8d2a7fa
elc_hoversel.c: add hover as a smart member of hoversel to fix hover child handle bug.
2013-04-03 13:19:07 +09:00
Daniel Juyung Seo
74b3eed5fd
elm: print the error message inside elm_widget_sub_object_add().
...
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
Elm devs should fix it beforehand.
So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Daniel Juyung Seo
f2b514f26b
elc_hoversel.c: Fixed wrong sub object handling.
...
hover should be a sub object of hoversel.
2013-04-03 03:12:33 +09:00
Tom Hacohen
d75cb616da
Change usage of eo_do_super to the new prototype.
2013-03-18 16:15:12 +00:00
Daniel Juyung Seo
78c042cdbe
elm *.c: fixed formatting with EINA_LIST_FREE.
...
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
Daniel Zaoui
cdd1eea853
Replace supported_types
...
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 83803
2013-02-10 07:52:31 +00:00
Daniel Juyung Seo
ffa9c1e793
elm: Refactoring.
...
Smart data is already initialized so we do not need to re-initialize them if the value equals to 0, NULL, or EINA_FALSE.
Sometimes re-initializing smart data explicitly is needed for readability. So there are left overs.
SVN revision: 82228
2013-01-04 19:10:19 +00:00
Daniel Zaoui
0c915e9023
Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
...
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg
5c98343198
We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
...
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 79668
2012-11-26 06:32:53 +00:00
Daniel Juyung Seo
30dba54610
elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
...
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Gustavo Lima Chaves
8fdf284468
[elm] Hoversel now inheritable.
...
SVN revision: 74761
2012-08-01 21:04:20 +00:00
Gustavo Lima Chaves
584c53c1be
[elm] New elm_widget_add() usage spread.
...
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves
bbf0a4345e
[elm] And now remove deprecated calls usage (WRT
...
icon/image thing).
SVN revision: 71473
2012-05-28 21:50:11 +00:00
Hyoyoung Chang
26c943b3de
elementary/hoversel: remove useless void ptr cast
...
SVN revision: 71412
2012-05-24 14:08:18 +00:00
Hyoyoung Chang
59718a93c7
elementary/hoversel: fix indent
...
SVN revision: 71377
2012-05-24 02:38:59 +00:00
Hyoyoung Chang
7d9c0dc403
elementary/hoversel: set hover's parent when hover's smart data deleted
...
SVN revision: 71376
2012-05-24 02:26:55 +00:00
Tom Hacohen
96a8fd040c
Elm hoversel: remove stupid printfs.
...
I'm glad to see someone is excited about hovers being created and deleted.
I'm not.
SVN revision: 71002
2012-05-14 14:20:18 +00:00
Gustavo Lima Chaves
2313f6cc0a
[Elm] Hoversel is now a button.
...
SVN revision: 70725
2012-05-03 22:43:00 +00:00
Carsten Haitzler
c0f2f4be91
REVERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
...
this breaks theme api. so NO! come back with a version that doesn't
break it.
SVN revision: 70679
2012-05-03 01:19:05 +00:00
Gustavo Lima Chaves
3298ff9c7a
[Elm] Hoversel is now a button.
...
SVN revision: 70648
2012-05-02 16:59:40 +00:00
Daniel Juyung Seo
4801d7f5c1
elm elm_object: Fixed part content set hooks.
...
1. delete old content object
2. check whether new content object is same as old content object
3. added some doxygen description.
SVN revision: 69743
2012-03-29 11:09:40 +00:00
Daniel Juyung Seo
480c61f20a
elm: Formatting. No spacing after casting.
...
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>
SVN revision: 68807
2012-03-06 11:51:42 +00:00
Jiyoun Park
f1ef54cc87
remove deprecated code related elm_hoversel_item_XXX
...
SVN revision: 68769
2012-03-06 04:49:59 +00:00
WooHyun Jung
6009652735
[elementary] change API name from _scale_set to _resizable_set in
...
elm_image + elm_icon.
SVN revision: 68719
2012-03-05 13:36:01 +00:00
Jiyoun Park
6920a5c1ab
modify code related elm_hoversel_label and icon(deprecated function)
...
SVN revision: 68689
2012-03-05 10:04:53 +00:00
ChunEon Park
c5232c4741
elementary - removed unnecessary checkings
...
SVN revision: 68393
2012-02-24 08:53:01 +00:00
ChunEon Park
fcc6192848
elementary - modified item_del_pre_hook function prototype.
...
Now it returns the bool value to free the widget item.
Some widget items(i,e genlist) should not be deleted directly when elm_object_item_del is called.
So, if the pre_hook function returns EINA_FALSE, then the widget item will not be deleted.
SVN revision: 67565
2012-01-27 11:56:14 +00:00
ChunEon Park
56a881bd35
elementary/menu, ctxpopup, index, segment_control, diskselector, multibuttonentry, toolbar, naviframe, slideshow, hoversel, filpselector - deprecated xxxx_item_del() APIs.
...
But instead, made to use the elm_object_item_del() APIs
for this, elm_widget_item needed to provide elm_widget_item_del_pre_hook.
SVN revision: 67010
2012-01-10 05:02:11 +00:00
ChunEon Park
3d40877da4
elementary/hover - deprecated elm_hover_content_set/get/unset
...
SVN revision: 66989
2012-01-09 08:37:29 +00:00
ChunEon Park
569e56e904
elementary - Added 1 more API elm_object_item_del_cb_set()
...
also deprecated below APIs
elm_hoversel_item_del_cb_set()
elm_diskselector_item_del_cb_set()
elm_toolbar_item_del_cb_set()
elm_index_item_del_cb_set()
elm_menu_item_del_cb_set()
SVN revision: 66748
2012-01-02 11:46:32 +00:00
Daniel Juyung Seo
a2d5107e60
elm hoversel: Fixed icon_get/icon_unset API.
...
SVN revision: 66356
2011-12-20 04:51:44 +00:00
ChunEon Park
b62129c878
elemenatry/hoversel - updated doc. deprecated APIs
...
elm_hoversel_icon_set
elm_hoversel_icon_get
elm_hoversel_icon_unset
elm_hoversel_item_data_get
elm_hoversel_item_label_get
SVN revision: 66350
2011-12-20 02:44:46 +00:00
ChunEon Park
49fa96affe
elementary/hoversel - Elm_Hoversel_Item -> Elm_Object_Item
...
**This may break your application compilation**
SVN revision: 66343
2011-12-20 01:03:17 +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
236192cd9a
elementary - modified content_set/get/unset part names to be simple names.
...
Previous part names are just the swallow part names
but in modified version, the part names chaned to simpler meaning names to use.
i.e for button
elm_object_content_part_set(button, "elm.swallow.icon", icon);
-> elm_object_content_part_set(button, "icon", icon);
SVN revision: 65295
2011-11-16 12:51:53 +00:00
Daniel Juyung Seo
bafe9c7426
elm: Use appropriate add/del_full for evas event callbacks.
...
SVN revision: 64536
2011-10-31 00:13:32 +00:00
ChunEon Park
8d85b136bf
elementary/button -> use elm_object_content_set/get/unset
...
SVN revision: 64370
2011-10-25 01:23:25 +00:00
Mike Blumenkrantz
88bbad2635
add VIEW() and WIDGET() macros for use with Elm_Widget_Items to create more consistency, reduce typing, and increase readability
...
VIEW(X) = X->base.view (visible evas object)
WIDGET(X) = X->base.widget (owner widget)
also a demo of the oxford comma for seoz
SVN revision: 64220
2011-10-21 01:08:01 +00:00
Mike Blumenkrantz
4ad1c5f0db
create and use ELM_WIDGET_ITEM for elm widget structs to ensure location/name
...
SVN revision: 64218
2011-10-21 00:45:19 +00:00
Jonas M. Gastal
8231e7d76e
Elementary: Hoversel documentation.
...
SVN revision: 61400
2011-07-15 13:54:39 +00:00
Tom Hacohen
fc6c3c3fc8
Elm: Make all the widgets accept "default" as the default.
...
SVN revision: 61002
2011-07-04 10:52:23 +00:00
Tom Hacohen
4b0af66c91
Elementary: Rename elm_object_label_* -> elm_object_text_part_*.
...
This name is better as it also applies for entries, and not just
for labels.
SVN revision: 60975
2011-07-04 09:18:16 +00:00
Tom Hacohen
666e82caf6
elm hoversel: add the elm_object_text_set/get hooks.
...
deprecate: elm_hoversel_label_set/get
SVN revision: 60860
2011-06-30 05:43:56 +00:00
Tom Hacohen
2d498587d4
Elm: Fix a couple more deprecation warnings and use elm_object_text_set/get.
...
SVN revision: 60809
2011-06-29 09:31:01 +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
ChunEon Park
86df49c4da
elementary / actionslider, calendar, colorselector, bubble, hoversel, clock
...
- updated them for using common signal callback table.
SVN revision: 58692
2011-04-15 17:01:39 +00:00
ChunEon Park
c7c99ddea6
elementry / entry, menu, notify, list, gengrid, actionslider, image, icon, anchorview, fileselector_button, calendar, photocam, anchorblock,
...
button, map, colorselector, hover, photo, diskselector, index, bubble, pager, hoversel, check, scrolled_entry, clock, flipselector
updated signal callback list in the doxygen.
should update genlist, progressbar ...
SVN revision: 58335
2011-04-04 16:34:18 +00:00
ChunEon Park
0b74203480
elementary - fileselecto, actionslider, anchorview, fileselector_button, anchorblock, fileselector_entry, hoversel, scrolled_entry
...
SVN revision: 58254
2011-04-01 11:51:11 +00:00
Carsten Haitzler
f74c18a02e
make all widgets use a standard setup macro. cuts code down and
...
handles null parent errors, null wd alloc, null obj create errors etc.
SVN revision: 58242
2011-04-01 06:08:02 +00:00
Tom Hacohen
f55a3f4cfc
Elementary: fixed on-the-fly UI-mirroring in elc objects.
...
All sub-objects have auto-ui-mirroring flag turned off now
By Aharon Hillel.
SVN revision: 56922
2011-02-10 15:13:05 +00:00
Tom Hacohen
c04d8990f0
Elementary: Added on-the-fly UI-mirroing support to all of the widgets
...
SVN revision: 56846
2011-02-09 16:14:02 +00:00
Tom Hacohen
99da5b6541
Elementary: Added ui-mirroring support for all the widgets.
...
SVN revision: 56803
2011-02-08 12:08:28 +00:00
3v1n0
ff67ce31fb
Always check for valid evas object.
...
If you try to create a new widget, you must be sure that the parent
is really an evas object.
With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).
SVN revision: 55521
2010-12-12 19:12:43 +00:00
helen
030b697366
EINA_SAFETY_ON_NULL_RETURN
...
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary
SVN revision: 55188
2010-12-03 14:08:33 +00:00
Tiago Rezende Campos Falcao
a6183287d3
Add checkers to hoversel items
...
SVN revision: 54091
2010-11-02 11:26:50 +00:00
Tiago Rezende Campos Falcao
15d0643b10
Getters should received const pointers
...
Only two getters continue without const:
* elm_theme_get
Need name review, or comportament.
* elm_toolbar_item_menu_get
Need comportament review, but will be fixed by bdilly.
SVN revision: 53874
2010-10-25 14:34:22 +00:00
Tiago Rezende Campos Falcao
0e436c7431
Clean hoversel_add
...
SVN revision: 53621
2010-10-19 14:17:11 +00:00
Tiago Rezende Campos Falcao
738bfaa747
Review of content setters, getters and unsetters
...
Revised the parent, icon, end and content setter and getters of
elementary objects.
Review to smart objects and widgets items will be the next steps.
SVN revision: 53425
2010-10-14 18:54:42 +00:00
Carsten Haitzler
4f3090af01
and handle disables for everything else that has disable hooks.
...
SVN revision: 53138
2010-10-07 07:44:50 +00:00
Tiago Rezende Campos Falcao
7710ab14f0
Hoversel can have focus
...
SVN revision: 53072
2010-10-05 19:09:52 +00:00