Commit Graph

86 Commits

Author SHA1 Message Date
ChunEon Park fbcd46acea elementary/menu - fixed a infinite loop bug. should be resized the sub menu item
thanks bluezery for reporting.



SVN revision: 68865
2012-03-07 02:20:58 +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
WooHyun Jung 123bcbfc06 elementary/elm_menu : Deprecated one API and modified test codes.
SVN revision: 68619
2012-03-02 08:56:32 +00:00
Pau Espin Pedrol 1bde7e2f66 elm_menu: Deprecate elm_menu_item_object_icon_name_get/set and rename it to elm_menu_item_icon_name_get/set
SVN revision: 68568
2012-03-01 12:05:10 +00:00
ChunEon Park 71879017b1 elementary/menu - deprecated elm_menu_item_menu_get.
use elm_object_item_widget_get()



SVN revision: 68401
2012-02-24 11:20:18 +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 f2a914c1be elementary - rename an API
elm_object_item_object_get -> elm_object_item_widget_get	



SVN revision: 67235
2012-01-16 03:23:32 +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 0f8b78cdd5 elementary - renamed internal callback function
elm_widget_item_disabled_set_hook_set -> elm_widget_item_disabled_hook_set



SVN revision: 67007
2012-01-10 01:00:23 +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
ChunEon Park d263480f83 elementary/menu - applied elm_object_item common APIs.
@deprecated 
elm_menu_item_label_set
elm_menu_item_label_get
elm_menu_item_object_content_set
elm_menu_item_object_content_get
elm_menu_item_disabled_set
elm_menu_item_disabled_get
elm_menu_item_data_set
elm_menu_item_data_get




SVN revision: 65597
2011-11-25 11:52:35 +00:00
ChunEon Park 468985fa84 elementary/menu - Elm_Menu_Item -> Elm_Object_Item
SVN revision: 65596
2011-11-25 10:57:39 +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 Blumenkrantz f3100ad3c6 don't require "menu/" prefix for menu icons, fall back on regular icon name
SVN revision: 63335
2011-09-12 03:14:53 +00:00
Mike Blumenkrantz 342330e063 really? part 2: really? with a vengeance.
SVN revision: 62155
2011-08-05 23:07:18 +00:00
Mike Blumenkrantz 7460ae79e8 as promised, deprecated menu api functions have now been removed
SVN revision: 62149
2011-08-05 19:40:14 +00:00
Daniel Juyung Seo 4879118510 elm: Removed trailing whitespaces before I work on.
SVN revision: 61933
2011-08-01 06:46:43 +00:00
Jonas M. Gastal 22ea003fdd Elementary: elm_menu documentation.
SVN revision: 61910
2011-07-29 21:40:54 +00:00
Mike Blumenkrantz 506710c9d1 unbreak elm_menu_item api
the following functions are now DEPRECATED and will be removed on 5 AUG 2011:
elm_menu_item_object_icon_get -> elm_menu_item_object_content_get
elm_menu_item_icon_get -> elm_menu_item_object_icon_name_get
elm_menu_item_icon_set -> elm_menu_item_object_icon_name_set

added the following NEW functions:
elm_menu_item_object_content_set
elm_menu_item_menu_get (this will probably be replaced by an eventual elm_object_item_owner_get() or whatever it gets named)


SVN revision: 61899
2011-07-29 15:08:56 +00:00
Mike Blumenkrantz a801e3f3fe helper function for menu item creation to deduplicate code
SVN revision: 61893
2011-07-29 14:04:54 +00:00
Mike Blumenkrantz 5db3d88170 +elm_menu_item_index_get
SVN revision: 61892
2011-07-29 14:00:31 +00:00
Mike Blumenkrantz 6139715778 remove const from return of some menu item_get functions
SVN revision: 61891
2011-07-29 13:29:04 +00:00
Mike Blumenkrantz ae8211afbf add note regarding swallowed content in items to elm_menu_item_object_icon_get
SVN revision: 61721
2011-07-26 01:51:50 +00:00
Mike Blumenkrantz 2139708729 radio buttons: GET IN MAH MENUS!!!!
added elm_menu_item_add_object which allows a user to directly add an arbitrary evas_object to be swallowed as a menu item, added radio item as test


SVN revision: 61717
2011-07-26 01:17:09 +00:00
Mike Blumenkrantz d67e39149a fix annoying but harmless safety check error with toolbar menus
SVN revision: 61663
2011-07-25 04:05:58 +00:00
Daniel Juyung Seo 22aeea6acf Elementary: Use !! to Eina_Bool substitution in EAPIs.
SVN revision: 58968
2011-04-27 16:06:11 +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
ChunEon Park 160084626b elementary / menu, notify, list, panes, module, map, pager, panel, mapbuf - removed white spaces
SVN revision: 58251
2011-04-01 11:26:58 +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
Tristan Lelong ab35bb5667 From: Tristan Lelong <tristan.lelong@blunderer.org>
Subject: [E-devel] [PATCH]: keyboard navigation in menus

I was using elementary on a target that only has a keyboard, and I add
to do several modification on the elm_menu to handle keyboard
navigation.
- patch 1: discard a menu from C source code
- patch 2: add accessors for menu items and add the ability to handle
selected item from C source code



SVN revision: 58084
2011-03-25 04:42:12 +00:00
Tristan Lelong 23b7dd8b8b From: Tristan Lelong <tristan.lelong@blunderer.org>
>>> Hello,
>>>
>>> I was using elementary on a target that only has a keyboard, and I add
>>> to do several modification on the elm_menu to handle keyboard
>>> navigation.
>>> - patch 2: add accessors for menu items and add the ability to handle
>>> selected item from C source code



SVN revision: 57957
2011-03-22 02:29:26 +00:00
Carsten Haitzler 551bbe375d menu api was the wrong name..
SVN revision: 57954
2011-03-22 02:08:38 +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
Otávio Pontes 1618a95058 Separator parent can be null
SVN revision: 55184
2010-12-03 11:18:36 +00:00
Carsten Haitzler 1fcddfebdb fix valgrind problems with elm menu. oooh not tracking things right.
bad elm menu! bad!



SVN revision: 54362
2010-11-09 10:41:09 +00:00
Tiago Rezende Campos Falcao 2374b34c2a Add checkers to menu items
SVN revision: 54092
2010-11-02 11:26:53 +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 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Leandro Pereira d617653e47 [Elementary] Disallow adding more than one separator item in a row.
(This fixes certain cases not covered by r53466)

SVN revision: 53696
2010-10-20 21:30:05 +00:00
Leandro Pereira a8b171115c [Elementary] Add menu buttons as submenus in Elm_Toolbar "More" button.
Previously, if there were buttons with menus in the toolbar, they would be
added but not its menu items.  Even though this is working fine, this is a
hack, since Elm_Menu should really offer reparenting or something like that
-- and this will destroy and recreate the whole menu structure on every
toolbar resize.

SVN revision: 53695
2010-10-20 21:30:03 +00:00
Leandro Pereira 5174660ea7 [Elementary] Use elm_icon_standard_set() on Elm_Menu items.
This breaks the API *and* the ABI, but this should be consistent with
Elm_Toolbar.  We'll probably need a tweak here and there, but I really
think Elm_Menu should be rewritten.

SVN revision: 53694
2010-10-20 21:30:00 +00:00