Tizen Native API
5.5
|
This module provides functionalities about ui_popup.
Functions | |
ui_popup * | ui_popup_create (ui_view *view) |
Creates an ui_popup. | |
int | ui_popup_destroy (ui_popup *popup) |
Destroys an ui_popup. | |
int | ui_popup_set_content (ui_popup *popup, Elm_Popup *content) |
Replaces or set a content of an ui_popup. | |
Elm_Popup * | ui_popup_get_content (const ui_popup *popup) |
Returns a content object of ui_popup. | |
Elm_Popup * | ui_popup_unset_content (ui_popup *popup) |
Unsets an ui_popup content. | |
int | ui_popup_activate (ui_popup *popup) |
Activates an ui_popup. | |
int | ui_popup_deactivate (ui_popup *popup) |
Deactivates an ui_popup. | |
bool | ui_popup_get_activated (const ui_popup *popup) |
Returns the active status of ui_popup. | |
Eo * | ui_popup_get_base (const ui_popup *popup) |
Gets a base object of an ui_popup. | |
int | ui_popup_get_degree (const ui_popup *popup) |
Gets current ui_popup's degree. | |
ui_view * | ui_popup_get_view (const ui_popup *popup) |
Returns a view which is matched with the ui_popup. |
int ui_popup_activate | ( | ui_popup * | popup | ) |
Activates an ui_popup.
It makes ui_popup state as show.
[in] | popup | An ui_popup instance |
0
on success, otherwise a negative error value UI_VIEWMGR_ERROR_NONE | Successful |
UI_VIEWMGR_ERROR_NOT_PERMITTED | popup instance is not set up yet |
UI_VIEWMGR_ERROR_INVALID_PARAMETER | popup is invalid |
ui_popup* ui_popup_create | ( | ui_view * | view | ) |
Creates an ui_popup.
[in] | view | An instance of ui_view |
UI_VIEWMGR_ERROR_NONE | Successfully added |
UI_VIEWMGR_ERROR_OUT_OF_MEMORY | Fail to create new instance |
UI_VIEWMGR_ERROR_INVALID_PARAMETER | popup is invalid |
int ui_popup_deactivate | ( | ui_popup * | popup | ) |
Deactivates an ui_popup.
It makes ui_popup state as hide.
[in] | popup | An ui_popup instance |
0
on success, otherwise a negative error value. UI_VIEWMGR_ERROR_NONE | Successful |
UI_VIEWMGR_ERROR_NOT_PERMITTED | popup instance is not set up yet |
UI_VIEWMGR_ERROR_INVALID_PARAMETER | popup is invalid |
int ui_popup_destroy | ( | ui_popup * | popup | ) |
Destroys an ui_popup.
Destroy an given ui_popup instance.
[in] | popup | An ui_popup instance |
0
on success, otherwise a negative error value UI_VIEWMGR_ERROR_NONE | Successful |
UI_VIEWMGR_ERROR_INVALID_PARAMETER | popup is invalid |
bool ui_popup_get_activated | ( | const ui_popup * | popup | ) |
Returns the active status of ui_popup.
[in] | popup | An ui_popup instance |
true
if ui_popup is activated, false
otherwise UI_VIEWMGR_ERROR_NONE | Successfully added |
UI_VIEWMGR_ERROR_INVALID_PARAMETER | popup is invalid |
Eo* ui_popup_get_base | ( | const ui_popup * | popup | ) |
Gets a base object of an ui_popup.
Normally, A base object can be used for a parent of ui_popup content.
[in] | popup | An ui_popup instance |
UI_VIEWMGR_ERROR_NONE | Successfully added |
UI_VIEWMGR_ERROR_INVALID_PARAMETER | popup is invalid |
Elm_Popup* ui_popup_get_content | ( | const ui_popup * | popup | ) |
Returns a content object of ui_popup.
[in] | popup | An ui_popup instance |
UI_VIEWMGR_ERROR_NONE | Successfully added |
UI_VIEWMGR_ERROR_INVALID_PARAMETER | popup is invalid |
int ui_popup_get_degree | ( | const ui_popup * | popup | ) |
Gets current ui_popup's degree.
[in] | popup | An ui_popup instance |
-1
if it fails to get degree information UI_VIEWMGR_ERROR_NONE | Successfully added |
UI_VIEWMGR_ERROR_INVALID_PARAMETER | popup is invalid |
ui_view* ui_popup_get_view | ( | const ui_popup * | popup | ) |
Returns a view which is matched with the ui_popup.
[in] | popup | An ui_popup instance |
UI_VIEWMGR_ERROR_NONE | Successfully added |
UI_VIEWMGR_ERROR_INVALID_PARAMETER | popup is invalid |
int ui_popup_set_content | ( | ui_popup * | popup, |
Elm_Popup * | content | ||
) |
Replaces or set a content of an ui_popup.
[in] | popup | An ui_popup instance |
[in] | content | popup object. It allows NULL for canceling the previous content |
0
on success, otherwise a negative error value UI_VIEWMGR_ERROR_NONE | Successful |
UI_VIEWMGR_ERROR_INVALID_PARAMETER | popup is invalid or content is not a type of Elm_Popup |
Elm_Popup* ui_popup_unset_content | ( | ui_popup * | popup | ) |
Unsets an ui_popup content.
[in] | popup | An ui_popup instance |
NULL
UI_VIEWMGR_ERROR_NONE | Successfully added |
UI_VIEWMGR_ERROR_INVALID_PARAMETER | popup is invalid |