seoz pushed a commit to branch master.

commit ad2322babc659df57c759fe9a5b325f64151f08c
Author: Daniel Juyung Seo <[email protected]>
Date:   Fri Apr 26 00:04:53 2013 +0900

    toolbar: updated documentations.
    
    1. elm/toolbar/more/default edc.
    2. elm_toolbar_more_item_get() API
---
 data/themes/widgets/toolbar.edc | 5 +++++
 src/lib/elm_toolbar.h           | 8 +++++---
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/data/themes/widgets/toolbar.edc b/data/themes/widgets/toolbar.edc
index 3b612e4..fbf963c 100644
--- a/data/themes/widgets/toolbar.edc
+++ b/data/themes/widgets/toolbar.edc
@@ -213,6 +213,11 @@ group { name: "elm/toolbar/base/default";
    }
 }
 
+/* this style is used for toolbar more layout background.
+ * how to test:
+ *   elementary_test -> toolbar 8 -> click 'open'
+ *   the whole expanded layout is elm/toolbar/more/default layout.
+ */
 group { name: "elm/toolbar/more/default";
    images {
       image: "toolbar_separator_h.png" COMP;
diff --git a/src/lib/elm_toolbar.h b/src/lib/elm_toolbar.h
index 47f44bd..7f1d132 100644
--- a/src/lib/elm_toolbar.h
+++ b/src/lib/elm_toolbar.h
@@ -469,13 +469,15 @@ EAPI void                         
elm_toolbar_item_selected_set(Elm_Object_Item
 EAPI Elm_Object_Item             *elm_toolbar_selected_item_get(const 
Evas_Object *obj);
 
 /**
- * Get the more item.
+ * Get the more item which is auto-generated by toolbar.
  *
  * @param obj The toolbar object.
  * @return The toolbar more item.
  *
- * The more item can be changed with function
- * elm_object_item_text_set() and elm_object_item_content_set.
+ * Toolbar generates 'more' item when there is no more space to fit items in
+ * and toolbar is in ELM_TOOLBAR_SHRINK_MENU or ELM_TOOLBAR_SHRINK_EXPAND mode.
+ * The more item can be manipulated by elm_object_item_text_set() and
+ * elm_object_item_content_set.
  *
  * @ingroup Toolbar
  */

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to