Tizen(Headed) Native API
6.5
|
This module provides functionalities about ui_standard_view.
- Deprecated:
- Deprecated since tizen 6.0.
Functions | |
ui_standard_view * | ui_standard_view_create (const char *name) TIZEN_DEPRECATED_API |
Creates an ui_standard_view. | |
int | ui_standard_view_set_title (ui_standard_view *view, const char *text) TIZEN_DEPRECATED_API |
Sets a title text. | |
int | ui_standard_view_set_sub_title (ui_standard_view *view, const char *text) TIZEN_DEPRECATED_API |
Sets a subtitle text. | |
int | ui_standard_view_set_title_badge (ui_standard_view *view, const char *badge_text) TIZEN_DEPRECATED_API |
Sets a title badge text. | |
int | ui_standard_view_set_title_right_btn (ui_standard_view *view, Elm_Button *title_right_btn) TIZEN_DEPRECATED_API |
Sets a title_right_btn. | |
Elm_Button * | ui_standard_view_get_title_right_btn (const ui_standard_view *view) TIZEN_DEPRECATED_API |
Returns a title right button of the view. | |
Elm_Button * | ui_standard_view_unset_title_right_btn (ui_standard_view *view) TIZEN_DEPRECATED_API |
Unsets a title right button of title area. | |
int | ui_standard_view_set_title_left_btn (ui_standard_view *view, Elm_Button *title_left_btn) TIZEN_DEPRECATED_API |
Sets a title_left_btn. | |
Elm_Button * | ui_standard_view_get_title_left_btn (const ui_standard_view *view) TIZEN_DEPRECATED_API |
Returns a title left button of the view. | |
Elm_Button * | ui_standard_view_unset_title_left_btn (ui_standard_view *view) TIZEN_DEPRECATED_API |
Unsets a title left button of title area. | |
int | ui_standard_view_set_toolbar (ui_standard_view *view, Elm_Toolbar *toolbar) TIZEN_DEPRECATED_API |
Sets a toolbar below title. | |
Elm_Toolbar * | ui_standard_view_get_toolbar (const ui_standard_view *view) TIZEN_DEPRECATED_API |
Returns a toolbar of the view. | |
Elm_Toolbar * | ui_standard_view_unset_toolbar (ui_standard_view *view) TIZEN_DEPRECATED_API |
Unsets a toolbar. | |
int | ui_standard_view_set_title_visible (ui_standard_view *view, bool visible, bool anim) TIZEN_DEPRECATED_API |
Controls the title visible state. |
Function Documentation
ui_standard_view* ui_standard_view_create | ( | const char * | name | ) |
Creates an ui_standard_view.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Remarks:
- If you don't set a view name, you could not look up the view with it's name. The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
- Parameters:
-
[in] name View name
- Returns:
- The ui_view instance. NULL if failed
- Exceptions:
-
UI_VIEWMGR_ERROR_NONE Successfully added UI_VIEWMGR_ERROR_OUT_OF_MEMORY Fail to create new instance
Elm_Button* ui_standard_view_get_title_left_btn | ( | const ui_standard_view * | view | ) |
Returns a title left button of the view.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Remarks:
- The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
- Parameters:
-
[in] view An ui_standard_view instance
- Exceptions:
-
UI_VIEWMGR_ERROR_NONE Successfully added UI_VIEWMGR_ERROR_INVALID_PARAMETER view is invalid
- Returns:
- Title left button of the view
Elm_Button* ui_standard_view_get_title_right_btn | ( | const ui_standard_view * | view | ) |
Returns a title right button of the view.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Remarks:
- The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
- Parameters:
-
[in] view An ui_standard_view instance
- Returns:
- Title right button of the view
- Exceptions:
-
UI_VIEWMGR_ERROR_NONE Successfully added UI_VIEWMGR_ERROR_INVALID_PARAMETER view is invalid
Elm_Toolbar* ui_standard_view_get_toolbar | ( | const ui_standard_view * | view | ) |
Returns a toolbar of the view.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Remarks:
- The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
- Parameters:
-
[in] view An ui_standard_view instance
- Returns:
- The toolbar of the given view
- Exceptions:
-
UI_VIEWMGR_ERROR_NONE Successfully added UI_VIEWMGR_ERROR_INVALID_PARAMETER view is invalid
int ui_standard_view_set_sub_title | ( | ui_standard_view * | view, |
const char * | text | ||
) |
Sets a subtitle text.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Parameters:
-
[in] view An ui_standard_view instance [in] text The label in the subtitle area
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
UI_VIEWMGR_ERROR_NONE Successful UI_VIEWMGR_ERROR_INVALID_PARAMETER if view is invalid UI_VIEWMGR_ERROR_RESULT_OUT_OF_RANGE Instance is corrupted. Maybe base object is broken
- See also:
- ui_standard_view_get_sub_title()
int ui_standard_view_set_title | ( | ui_standard_view * | view, |
const char * | text | ||
) |
Sets a title text.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Parameters:
-
[in] view An ui_standard_view instance [in] text The label in the title area
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
UI_VIEWMGR_ERROR_NONE Successful UI_VIEWMGR_ERROR_INVALID_PARAMETER if view is invalid UI_VIEWMGR_ERROR_RESULT_OUT_OF_RANGE Instance is corrupted. Maybe base object is broken
- See also:
- ui_standard_view_get_title()
int ui_standard_view_set_title_badge | ( | ui_standard_view * | view, |
const char * | badge_text | ||
) |
Sets a title badge text.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Parameters:
-
[in] view An ui_standard_view instance [in] badge_text The label in the title badge area
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
UI_VIEWMGR_ERROR_NONE Successful UI_VIEWMGR_ERROR_INVALID_PARAMETER if view is invalid UI_VIEWMGR_ERROR_RESULT_OUT_OF_RANGE Instance is corrupted. Maybe base object is broken
- See also:
- ui_standard_view_get_title_badge()
int ui_standard_view_set_title_left_btn | ( | ui_standard_view * | view, |
Elm_Button * | title_left_btn | ||
) |
Sets a title_left_btn.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Parameters:
-
[in] view An ui_standard_view instance [in] title_left_btn The button in the left part of title area
- Returns:
0
on success, otherwise a negative error value.
- Return values:
-
UI_VIEWMGR_ERROR_NONE Successful UI_VIEWMGR_ERROR_INVALID_PARAMETER if view is invalid UI_VIEWMGR_ERROR_ALREADY_IN_PROGRESS if title_left_btn is same with the existing one UI_VIEWMGR_ERROR_RESULT_OUT_OF_RANGE Instance is corrupted. Maybe base object is broken
int ui_standard_view_set_title_right_btn | ( | ui_standard_view * | view, |
Elm_Button * | title_right_btn | ||
) |
Sets a title_right_btn.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Parameters:
-
[in] view An ui_standard_view instance [in] title_right_btn The button in the right part of title area
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
UI_VIEWMGR_ERROR_NONE Successful UI_VIEWMGR_ERROR_INVALID_PARAMETER if view is invalid UI_VIEWMGR_ERROR_ALREADY_IN_PROGRESS if title_right_btn is same with the existing one UI_VIEWMGR_ERROR_RESULT_OUT_OF_RANGE Instance is corrupted. Maybe base object is broken
int ui_standard_view_set_title_visible | ( | ui_standard_view * | view, |
bool | visible, | ||
bool | anim | ||
) |
Controls the title visible state.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Parameters:
-
[in] view An ui_standard_view instance [in] visible Title state set as visible if the given param is true
, otherwise title area set as invisible[in] anim Title area will be shown with animation if the given param is true
, otherwise title area will be shown without animation
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
UI_VIEWMGR_ERROR_NONE Successful UI_VIEWMGR_ERROR_INVALID_PARAMETER if view is invalid UI_VIEWMGR_ERROR_RESULT_OUT_OF_RANGE Instance is corrupted. Maybe base object is broken
int ui_standard_view_set_toolbar | ( | ui_standard_view * | view, |
Elm_Toolbar * | toolbar | ||
) |
Sets a toolbar below title.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Parameters:
-
[in] view An ui_standard_view instance [in] toolbar Toolbar object
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
UI_VIEWMGR_ERROR_NONE Successful UI_VIEWMGR_ERROR_INVALID_PARAMETER if view is invalid UI_VIEWMGR_ERROR_ALREADY_IN_PROGRESS if toolbar is already existing UI_VIEWMGR_ERROR_RESULT_OUT_OF_RANGE Instance is corrupted. Maybe base object is broken
Elm_Button* ui_standard_view_unset_title_left_btn | ( | ui_standard_view * | view | ) |
Unsets a title left button of title area.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Remarks:
- The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
- Parameters:
-
[in] view An ui_standard_view instance
- Returns:
- A previous content. If it wasn't, return
NULL
- Exceptions:
-
UI_VIEWMGR_ERROR_NONE Successfully added UI_VIEWMGR_ERROR_INVALID_PARAMETER view is invalid UI_VIEWMGR_ERROR_RESULT_OUT_OF_RANGE Instance is corrupted. Maybe base object is broken
Elm_Button* ui_standard_view_unset_title_right_btn | ( | ui_standard_view * | view | ) |
Unsets a title right button of title area.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Remarks:
- The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
- Parameters:
-
[in] view An ui_standard_view instance
- Returns:
- A previous content. If it wasn't, return
NULL
- Exceptions:
-
UI_VIEWMGR_ERROR_NONE Successfully added UI_VIEWMGR_ERROR_INVALID_PARAMETER view is invalid UI_VIEWMGR_ERROR_RESULT_OUT_OF_RANGE Instance is corrupted. Maybe base object is broken
Elm_Toolbar* ui_standard_view_unset_toolbar | ( | ui_standard_view * | view | ) |
Unsets a toolbar.
- Deprecated:
- Deprecated since tizen 6.0.
- Since :
- 3.0
- Remarks:
- The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
- Parameters:
-
[in] view An ui_standard_view instance
- Returns:
- A previous content. If it wasn't, return
NULL
- Exceptions:
-
UI_VIEWMGR_ERROR_NONE Successfully added UI_VIEWMGR_ERROR_INVALID_PARAMETER view is invalid