From: Michael Blumenkrantz <mike@zentific.com>
authorMichael Blumenkrantz <mike@zentific.com>
Tue, 27 Apr 2010 05:43:54 +0000 (05:43 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Tue, 27 Apr 2010 05:43:54 +0000 (05:43 +0000)
commit0096ffdd56bfb4655b685f74cba9a71e8a87fb65
tree7e40d4767667acc5865e0bd817c64e3fd6655eaf
parent045f48cc7a8209f49692f2bd1b7ca8f8d158bcad
From: Michael Blumenkrantz <mike@zentific.com>

elm.diff is a patch which implements a number of convenience functions
for various widgets, as well as some new features for toolbar and panel.
With the panel widget, I've written a number of calls related to
toolbar items and the selected item in particular, allowing
manipulation of the selection and toolbar items more easily. These
functions are as follows:
+elm_toolbar_item_get_all() returns a Eina_List* of all the toolbar
items
+elm_toolbar_item_get_first() returns the first toolbar item
+elm_toolbar_item_get_last() returns the last toolbar item
+elm_toolbar_item_get_next() returns the item after the
currently selected item
+elm_toolbar_item_select_next() moves the selection to the next valid
item
+elm_toolbar_item_select_first() selects the first valid item
+elm_toolbar_item_select_last() selects the last valid item
+elm_toolbar_item_find_by_label() returns the first Elm_Toolbar_Item
matching "label"

The new panel functions I have written allow for control of the panel's
state from code, and are as follows:
+elm_panel_hidden_set() sets the panel's toggle state to a bool value
and runs the animation
+elm_panel_hidden_get() returns whether the panel is hidden
+elm_panel_toggle() toggles the panel to its other state

The remainder of the functions are just general wd->data returns which
were missing, the functionality of which may be of use to people.

SVN revision: 48355
src/lib/Elementary.h.in
src/lib/elm_hover.c
src/lib/elm_menu.c
src/lib/elm_panel.c
src/lib/elm_toolbar.c