Hoversel example and doc fix.

Patch by: João Paulo Fernandes Ventura

SVN revision: 69342
This commit is contained in:
Jonas M. Gastal 2012-03-14 17:20:15 +00:00
parent 940beabddc
commit 5bbe9c9269
2 changed files with 4 additions and 3 deletions

View File

@ -3652,7 +3652,7 @@
* And now we create our hoversel and set some of it's properties. We set @p win
* as its parent, ask it to not be horizontal(be vertical) and give it a label
* and icon:
* @until icon_set
* @until "icon", rect)
*
* Next we will add our three items, setting a callback to be called for the
* first and third:

View File

@ -22,8 +22,11 @@ elm_main(int argc, char **argv)
elm_win_title_set(win, "Hoversel");
elm_win_autodel_set(win, EINA_TRUE);
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
evas_object_resize(win, 200, 300);
evas_object_show(win);
bg = elm_bg_add(win);
evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(win, bg);
evas_object_show(bg);
@ -49,8 +52,6 @@ elm_main(int argc, char **argv)
evas_object_move(hoversel, 10, 10);
evas_object_show(hoversel);
evas_object_resize(win, 200, 300);
evas_object_show(win);
elm_run();