efl/legacy/elementary/src/lib
Bruno Dilly 01d04e55e0 Change toolbar API for consistency with other widgets
BIG FAT WARNING: lots of changes on toolbar API

Trying to get a lib with easy to use API, I'm changing toolbar API
to be consistent with genlist / gengrid widgets and to be more concise.

Functions select_next, select_first, select_last, unselect, unselect_all
get all are gone.
You can do this calling a combination of the others functions.

This commit changes toolbar to use inlist, and previous items can be
get.

So now we have:
Elm_Toolbar_Item *elm_toolbar_first_item_get(const Evas_Object *obj)
Elm_Toolbar_Item *elm_toolbar_last_item_get(const Evas_Object *obj)
Elm_Toolbar_Item *elm_toolbar_item_next_get(const Elm_Toolbar_Item *it)
Elm_Toolbar_Item *elm_toolbar_item_prev_get(const Elm_Toolbar_Item *it)
Eina_Bool elm_toolbar_item_selected_get(const Elm_Toolbar_Item)
void elm_toolbar_item_selected_set(Elm_Toolbar_Item *item, Eina_Bool selected)
Elm_Toolbar_Item *elm_toolbar_selected_item_get(const Evas_Object *obj)

With these functions you can iterate over the items list getting /
selecting the item you need.

Another big change is that elm_toolbar_item_add is gone. Now you can
insert items in the position you want, with the functions append,
prepend, insert after, insert before (a relative item).

If you don't like any changes or have a case of use for something
that should be different, please ping me.

At last, includes ELM_TOOLBAR_ITEM_CHECK_OR_RETURN on EAPI that
receives items.



SVN revision: 53894
2010-10-26 10:29:24 +00:00
..
Elementary.h.in Change toolbar API for consistency with other widgets 2010-10-26 10:29:24 +00:00
Elementary_Cursor.h Add support on Elm to customized cursors 2010-09-17 18:24:10 +00:00
Makefile.am New widget: Hoverlist. 2010-10-19 20:21:53 +00:00
elc_anchorblock.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elc_anchorview.c Review of content setters, getters and unsetters 2010-10-14 18:54:42 +00:00
elc_fileselector.c Use profile configuration on fileselectors. 2010-10-21 18:40:49 +00:00
elc_fileselector_button.c Coccinelle 2010-10-22 21:41:22 +00:00
elc_fileselector_entry.c Use profile configuration on fileselectors. 2010-10-21 18:40:49 +00:00
elc_hoverlist.c Coccinelle 2010-10-22 21:41:22 +00:00
elc_hoversel.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elc_notepad.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
elc_scrolled_entry.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_animator.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_bg.c Fix elm_bg overlay issue: 2010-10-15 23:03:56 +00:00
elm_box.c Coccinelle 2010-10-22 21:41:22 +00:00
elm_bubble.c Review of content setters, getters and unsetters 2010-10-14 18:54:42 +00:00
elm_button.c Coccinelle 2010-10-22 21:41:22 +00:00
elm_calendar.c Coccinelle 2010-10-22 21:41:22 +00:00
elm_carousel.c Get icon_size from profile. 2010-10-21 18:59:45 +00:00
elm_check.c Coccinelle 2010-10-22 21:41:22 +00:00
elm_clock.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
elm_cnp_helper.c elm_cnp_helper: Allow HTML->Text conversions on paste. 2010-10-26 06:10:46 +00:00
elm_colorpicker.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_config.c Little changes at elm profile functios + some new free()-ing helpers. 2010-10-25 17:36:07 +00:00
elm_conform.c Review of content setters, getters and unsetters 2010-10-14 18:54:42 +00:00
elm_diskpicker.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
elm_entry.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
elm_flip.c Review of content setters, getters and unsetters 2010-10-14 18:54:42 +00:00
elm_flippicker.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_frame.c Review of content setters, getters and unsetters 2010-10-14 18:54:42 +00:00
elm_gengrid.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
elm_genlist.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_hover.c There you are. Appedix of last commit. 2010-10-20 00:21:34 +00:00
elm_icon.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_image.c From: 김지훈 <imfine98@gmail.com> 2010-09-28 04:28:14 +00:00
elm_index.c Relloc with problems 2010-10-22 21:41:31 +00:00
elm_label.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
elm_layout.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_list.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_magnetslider.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
elm_main.c Little changes at elm profile functios + some new free()-ing helpers. 2010-10-25 17:36:07 +00:00
elm_map.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_mapbuf.c Review of content setters, getters and unsetters 2010-10-14 18:54:42 +00:00
elm_menu.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_module.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
elm_notify.c Coccinelle 2010-10-22 21:41:22 +00:00
elm_pager.c Improve Focus manager. 2010-10-21 18:58:43 +00:00
elm_panel.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_panes.c Coccinelle 2010-10-22 21:41:22 +00:00
elm_photo.c Coccinelle 2010-10-22 21:41:22 +00:00
elm_photocam.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
elm_priv.h Profile selection at Elementary config app. 2010-10-25 13:08:19 +00:00
elm_progressbar.c Coccinelle 2010-10-22 21:41:22 +00:00
elm_radio.c Coccinelle 2010-10-22 21:41:22 +00:00
elm_scroller.c Coccinelle 2010-10-22 21:41:22 +00:00
elm_separator.c From: 김지훈 <imfine98@gmail.com> 2010-09-28 04:28:14 +00:00
elm_slider.c Coccinelle 2010-10-22 21:41:22 +00:00
elm_slideshow.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_spinner.c and handle disables for everything else that has disable hooks. 2010-10-07 07:44:50 +00:00
elm_table.c We do not use this code, so we don't need to keep it there commented and all. 2010-10-19 12:26:44 +00:00
elm_theme.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_thumb.c Getters should received const pointers 2010-10-25 14:34:22 +00:00
elm_toggle.c Coccinelle 2010-10-22 21:41:22 +00:00
elm_toolbar.c Change toolbar API for consistency with other widgets 2010-10-26 10:29:24 +00:00
elm_widget.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
elm_widget.h Coccinelle 2010-10-22 21:41:22 +00:00
elm_win.c keep flush sequence consistent. 2010-10-23 01:00:46 +00:00
els_box.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
els_box.h Hacky move to evas_box 2009-10-02 19:22:40 +00:00
els_cursor.c Coccinelle 2010-10-22 21:41:22 +00:00
els_icon.c Review Els_Icon 2010-10-19 14:17:08 +00:00
els_icon.h Review Els_Icon 2010-10-19 14:17:08 +00:00
els_pan.c * remove shadow declarations 2010-04-21 07:46:03 +00:00
els_pan.h elementary becomes its own tree/lib/test binary 2008-09-30 06:58:56 +00:00
els_scroller.c Remove tests == 0 and != 0 2010-10-22 21:41:27 +00:00
els_scroller.h Add two apis to limit page size of gengrid's scroller : elm_gengrid_page_relative_set and elm_gengrid_page_size_set. 2010-09-29 16:59:35 +00:00
els_tooltip.c Coccinelle 2010-10-22 21:41:22 +00:00