Ok I go with genlist :)
2012/5/26 Carsten Haitzler ras...@rasterman.com
On Sat, 26 May 2012 01:16:36 +0200 Michaël Bouchaud y...@efl.so said:
my plan in exemple ...
g = elm_gen_add(o);
elm_gen_type_set(g, ELM_GEN_TYPE_LIST/GRID);
and use elm_genlist_item as models .for
So what name could I use
elm_gengrid_item_append_with_item_type,
elm_gengrid_item_sorted_insert_with_item_type,
???
sorry but this week, I'm really out of inspiration ^^
2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com
That was our first attempt.
Anyhow gengrid will be merged into genlist
just kidding...
But, I really need a way how to do this patch.In my point of view, use
elm_gen_item_* API is the way how to patch it.
I have a plan to make elm_genlist and elm_gengrid compliant with a
elm_gen_item api, with some hooks (need to think about it... but really
realisable with few
my plan in exemple ...
g = elm_gen_add(o);
elm_gen_type_set(g, ELM_GEN_TYPE_LIST/GRID);
and use elm_genlist_item as models .for elm_gen_item
2012/5/26 Michaël Bouchaud y...@efl.so
just kidding...
But, I really need a way how to do this patch.In my point of view, use
elm_gen_item_* API is
Sure, the code between these layouts will not be merged in my plan
2012/5/26 Michaël Bouchaud y...@efl.so
my plan in exemple ...
g = elm_gen_add(o);
elm_gen_type_set(g, ELM_GEN_TYPE_LIST/GRID);
and use elm_genlist_item as models .for elm_gen_item
2012/5/26 Michaël Bouchaud
On Sat, 26 May 2012 01:16:36 +0200 Michaël Bouchaud y...@efl.so said:
my plan in exemple ...
g = elm_gen_add(o);
elm_gen_type_set(g, ELM_GEN_TYPE_LIST/GRID);
and use elm_genlist_item as models .for elm_gen_item
i don't see the use of that really. ultimately make just genlist BE gengrid.
Ok how to proceed create new one or break it ?
I really dreams about a merge of elm_genlist_item and elm_gengrid_item apis
into gen_item apis
2012/5/23 Carsten Haitzler ras...@rasterman.com
On Wed, 9 May 2012 16:11:45 +0200 Michaël Bouchaud y...@efl.so said:
2012/5/8 Daniel Juyung Seo
yes the problem is that we need to break apis or add inconsistent apis.
absolutely we cant break apis.
anyhow genlist and gengrid were not merged in elm 1.0.
i am really sorry for that.
On May 25, 2012 9:56 AM, Michaël Bouchaud y...@efl.so wrote:
Ok how to proceed create new one or break it ?
So why not create a new prototype set of elm_gen_item apis and use it for
gengrid.
That's my question ?
2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com
yes the problem is that we need to break apis or add inconsistent apis.
absolutely we cant break apis.
anyhow genlist and gengrid were not
That was our first attempt.
Anyhow gengrid will be merged into genlist so we do not need to add up
temporary api sets. That's why we removed elm_gen_xxx apis.
Maybe the merge will be done before elm 2.0?
Daniel Juyung Seo (SeoZ)
On Fri, May 25, 2012 at 10:25 AM, Michaël Bouchaud y...@efl.so
On Wed, 9 May 2012 16:11:45 +0200 Michaël Bouchaud y...@efl.so said:
2012/5/8 Daniel Juyung Seo seojuyu...@gmail.com
Ho damn !
I had in mind, that you will merge genlist and gengrid when I wrote this
patch.
As you said, we need to fix it with an item type enum. And use the same api
like
2012/5/8 Daniel Juyung Seo seojuyu...@gmail.com
Oh my god. Sorry to say this too late but this is wrong :(
+ item-is_group = !strcmp(item-gic-item_style, group_index);
Group has to be another type of item which introduces item type enum.
Parsing item style name is not good. We can't have
Oh my god. Sorry to say this too late but this is wrong :(
+ item-is_group = !strcmp(item-gic-item_style, group_index);
Group has to be another type of item which introduces item type enum.
Parsing item style name is not good. We can't have another group index style...
We can't fix this now
13 matches
Mail list logo