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
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
ChunEon Park
4bb1f9830c
elementary/index - deprecated APIs
...
elm_index_item_data_set()
elm_index_item_data_get()
SVN revision: 66661
2011-12-30 05:12:54 +00:00
ChunEon Park
6f07cf3ea0
elementary/index - Elm_Index_Item -> Elm_Object_Item
...
SVN revision: 66659
2011-12-30 04:57:28 +00:00
Michael BOUCHAUD
65106b50ac
elementary: API break ! using Elm_Index_Item instead of the item's data in the index widget. This was applied for function and smart callbacks
...
SVN revision: 65956
2011-12-06 14:05:55 +00:00
RAJEEV RANJAN
ba55a1b120
elementary/index - [E-devel] [Patch] elm_index patch
...
Hi,
Attachment to the mail is elm_index patch.
Change Log:
a. Memory leak fix in function elm_index_item_append_relative due to memory allocated for item creation reamined allocated when the control returns.
b. Memory leak fix in function elm_index_item_prepend_relative due to memory allocated for item creation reamined allocated when the control returns.
Signed-Off-By: RAJEEV RANJAN <rajeev.r@samsung.com>
Signed-Off-By: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>
SVN revision: 65697
2011-11-30 00:07:44 +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
Mike McCormack
beafec3884
elementary: Improve include file modularity
...
Move stuff out of elm_priv.h
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 63900
2011-10-07 05:56:07 +00:00
Carsten Haitzler
0f71296a93
dont display indicator if no items in index.
...
SVN revision: 62801
2011-08-25 10:29:08 +00:00
Carsten Haitzler
62b4440c3c
if you activate index without it being clicked, the indicator bit is
...
visible but empty - dont show this until someone actually clicks.
SVN revision: 62799
2011-08-25 10:20:47 +00:00
Gustavo Lima Chaves
c2c47801f7
[elementary] Documentation for the index widget.
...
SVN revision: 61533
2011-07-20 16:28:12 +00:00
Michael BOUCHAUD
c34c5c5a04
elementary: fix the prototype of elm_index_active_get
...
SVN revision: 59757
2011-05-27 17:33:40 +00:00
Michael BOUCHAUD
efa1c08e88
elementary: add elm_index_active_get
...
SVN revision: 59755
2011-05-27 17:21:18 +00:00
ChunEon Park
d45f0154cf
elementary / menu, list, index, pager - modified to use signal callback table.
...
SVN revision: 58807
2011-04-21 15:57:03 +00:00
Daniel Juyung Seo
77450413d7
Elementary src/lib: Removed all trailing whitespaces.
...
SVN revision: 58492
2011-04-08 14:36:29 +00:00
ChunEon Park
3761fc17f5
elementary / menu, gengrid, slider, separator, photocam, index, toggle
...
updated signal callback list in the doxygen
SVN revision: 58347
2011-04-05 07:04:09 +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
Daniel Juyung Seo
8a108db5ab
Elementary: Use pre-defined type Edje_Signal_Cb instead of describing all of its parameters.
...
SVN revision: 58283
2011-04-03 05:32:17 +00:00
ChunEon Park
b880342a74
elementary - entry, genlist, gengrid, image, icon, hover, frame, diskselector, index, layout, label, conform, flip, flipselector - removed white spaces
...
SVN revision: 58252
2011-04-01 11:32:33 +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
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
Rafael Fonseca
f01cc6f291
Respect finger size on elm_index widget.
...
SVN revision: 54370
2010-11-09 18:20:43 +00:00
Tiago Rezende Campos Falcao
d28298faa4
Add checkers to index items
...
SVN revision: 54095
2010-11-02 11:27:02 +00:00
Iván Briano
ea3dda3527
And let's not expose internal objects when setting signal callbacks on widgets.
...
SVN revision: 54004
2010-10-29 18:21:58 +00:00
Tiago Rezende Campos Falcao
73cca00118
Relloc with problems
...
SVN revision: 53788
2010-10-22 21:41:31 +00:00
Tiago Rezende Campos Falcao
4672a51b0c
Remove tests == 0 and != 0
...
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Leandro Pereira
c245c6483f
[Elementary] Code cleanups, as suggested by clang static analyzer.
...
SVN revision: 53472
2010-10-15 21:26:11 +00:00
Tiago Rezende Campos Falcao
8ca4d18a0b
Fixing can_focus to the widgets
...
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
widgets:
anchorblock: can_focus = EINA_TRUE
anchorview: can_focus = EINA_TRUE
fileselector: can_focus = EINA_FALSE
hoversel: can_focus = EINA_FALSE
notepad: can_focus = EINA_TRUE
scrolled_entry: can_focus = EINA_TRUE
bubble: can_focus = EINA_FALSE
calendar: can_focus = EINA_TRUE
clock: can_focus = EINA_TRUE
conformant: can_focus = EINA_FALSE
flip: can_focus = EINA_FALSE
frame: can_focus = EINA_FALSE
gengrid: can_focus = EINA_TRUE
genlist: can_focus = EINA_TRUE
index: can_focus = EINA_FALSE
list: can_focus = EINA_TRUE
layout: can_focus = EINA_FALSE
map: can_focus = EINA_TRUE
mapbuf: can_focus = EINA_FALSE
menu: can_focus = EINA_FALSE
notify: can_focus = EINA_FALSE
pager: can_focus = EINA_FALSE
panes: can_focus = EINA_FALSE
progressbar: can_focus = EINA_FALSE
photocam: can_focus = EINA_TRUE
scroller: can_focus = EINA_TRUE
table: can_focus = EINA_FALSE
thumb: can_focus = EINA_FALSE
win: can_focus = EINA_FALSE
SVN revision: 52888
2010-09-29 12:22:30 +00:00
Bruno Dilly
89f23acadc
Remove some dead assignments from elementary
...
SVN revision: 52763
2010-09-25 22:07:55 +00:00
Tiago Rezende Campos Falcao
d147b3213e
Remove warning from elm_index.c
...
Can't access directly Elm_Widget_Item struct.
SVN revision: 52687
2010-09-24 14:48:03 +00:00
김지훈
d5b8d09591
From: 김지훈 <imfine98@gmail.com>
...
Subject: patch for indentation and using enum in elementary
I send the patch for elementary.
In this patch, I fixed the indentation of Elementary.h.in.
In addition, I use EINA_TRUE or EINA_FALSE instead of 1 or 0.
EVAS_HINT_EXPAND and EVA_HINT_FILL is used instead of 1.0 and -1.0.
Thanks.
SVN revision: 52447
2010-09-19 02:30:14 +00:00
Gustavo Sverzut Barbieri
53cbc881c8
Missing "const void *data" -> "void *data" in the API
...
SVN revision: 52373
2010-09-17 16:34:11 +00:00
Gustavo Sverzut Barbieri
9ed8bf92be
Use elm_widget_item common base.
...
This patch changes all Elm_*_Item to use new infrastructure of
Elm_Widget_Item. This patch is basically a find-and-replace, but even
that was a bit tricky since every code had different names for the
same things, particularly for "view" and "widget" the names ranged
from "o"/"obj" to "base"/"o", quite confusing!
It is worth noting that Genlist and variants that adopted its "item
class" style such as Gengrid and Slideshow already provide a "del()"
callback there and I'm keeping them, however we should reconsider if
it is good to remove them and use elm_widget_item_del_cb_set()
instead. The drawback is that onde would have to set it, while the
other is done automatically when you create the object with the
class. Nonetheless this patch already introduces support to use
elm_widget_item_pre_notify_del(), but it will be void in such code as
nobody ever sets it.
Some new setters and getters were introduced to normalize code... and
they would be required once people write python-bindings for them,
like index and carousel.
SVN revision: 52118
2010-09-10 02:05:45 +00:00
Gustavo Sverzut Barbieri
17ac79248f
Just delete children and related from del_pre_hook, not del_hook!
...
At del_hook() stuff are already gone and invalid access may
happen. Doing it from del_pre_hook you still have things working nice.
SVN revision: 52113
2010-09-10 01:29:06 +00:00
Bruno Dilly
f8de57f405
Add elm object signal emit and callback add / del hooks to entry, list and index
...
SVN revision: 52087
2010-09-09 18:53:36 +00:00
Bruno Dilly
4c02246e5d
Use widget style instead of default on elm index items
...
SVN revision: 50236
2010-07-13 21:33:12 +00:00
Cedric BAIL
bdf6efa129
* elementary: fix Ecore API changes.
...
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Fabiano Fidêncio
7746e8b514
From: Fabiano Fidêncio <fidencio@profusion.mobi>
...
Changing return of Eina_Bool functions that were not EINA_TRUE or
EINA_FALSE in Edje.
In Elementary too ...
SVN revision: 49470
2010-06-05 13:12:45 +00:00
Mike Blumenkrantz
2c44eda4e0
kill off some unused variables, return values on some widtype check fails
...
SVN revision: 49222
2010-05-27 09:01:41 +00:00
Bruno Dilly
7d57c9c432
Fix misuse of win_resize_object on test_flip3 and add comments
...
explaining better the sorted insertion of index widget.
Thanks to Sachiel for spotting that stuff.
SVN revision: 49195
2010-05-25 13:36:20 +00:00
Bruno Dilly
0fa431bcc0
Implement elm index sorted insert
...
- Name index item as Elm_Index_Item
- Add some other index functions:
+ Item find
+ Data get/set
+ Letter get
I think this stuff will make easier to create index for
dynamically created lists.
SVN revision: 49171
2010-05-23 23:41:32 +00:00
Carsten Haitzler
d888b71dba
theme -> can specify a new theme for an object andit gets inherited. need to
...
add tests.
SVN revision: 48771
2010-05-12 01:03:46 +00:00
Boris Faure
1ca26086db
elm: add lots of doc! Thanks to Mike (zmike/discomfitor)
...
SVN revision: 47944
2010-04-12 08:12:02 +00:00
Gustavo Sverzut Barbieri
06d14ed245
const and -Wextra, come on guys! :-/
...
SVN revision: 47409
2010-03-24 03:06:00 +00:00
Vincent Torri
b07e49d435
remove unused parameter in the library.
...
I won't do this everyday, and i won't touch the tests.
SVN revision: 47093
2010-03-09 17:51:30 +00:00