fileselector_button, fileselector_entry: Updated FOO_inwin_mode_set() documentation.

fileselector_button initialize inwin mode using the configuration.
Fixed wrong information about default value in API documentation.

In addition, fixed test_fileselector_button.cpp not to show wrong information at initial time.
This commit is contained in:
Ryuan Choi 2014-01-19 15:31:20 +09:00
parent 852eface62
commit e1ac419d6d
3 changed files with 5 additions and 3 deletions

View File

@ -212,7 +212,7 @@ test_fileselector_button(void *data EINA_UNUSED,
bt = elm_check_add(win);
elm_object_style_set(bt, "toggle");
elm_object_text_set(bt, "Inwin mode");
elm_check_state_set (bt, EINA_TRUE);
elm_check_state_set(bt, elm_fileselector_button_inwin_mode_get(fs_bt));
evas_object_smart_callback_add(bt, "changed", _inwin_mode_toggle, fs_bt);
elm_box_pack_end(hbox, bt);
evas_object_show(bt);

View File

@ -217,7 +217,8 @@ EAPI Eina_Bool elm_fileselector_button_is_save_get(const Evas_
/**
* Set whether a given file selector button widget's internal file
* selector will raise an Elementary "inner window", instead of a
* dedicated Elementary window. By default, it won't.
* dedicated Elementary window. By default, it depends on the current
* profile.
*
* @param obj The file selector button widget
* @param value @c EINA_TRUE to make it use an inner window, @c

View File

@ -217,7 +217,8 @@ EAPI Eina_Bool elm_fileselector_entry_is_save_get(const Evas_O
/**
* Set whether a given file selector entry widget's internal file
* selector will raise an Elementary "inner window", instead of a
* dedicated Elementary window. By default, it won't.
* dedicated Elementary window. By default, it depends on the current
* profile.
*
* @param obj The file selector entry widget
* @param value @c EINA_TRUE to make it use an inner window, @c