From: Michael B. <mi...@ze...> - 2010-04-12 07:06:49
|
Hi, Attached are two patches that I've spent some time working on. elm-doc2.diff is the second half of my doxygen implementation for elm, and adds dox for every remaining function and widget. There are a couple which need to be edited by people who understand what the functions do, since I was not able to figure it out from the code. These functions are marked with "TODO: fill this in" and I believe there are <=5 of them. 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. -Mike (zmike/discomfitor) |