Question
I'm following the code examples in the book "Guide to Develop Native App" and discovered that the function elm_frame_add() is not available in Tizen Studio 1.0 with SDK version 2.4.
Is this function not supported in version 2.4?
Answer
Problem Understanding
The user is encountering an issue where the Elementary UI function elm_frame_add() is not available in their development environment (Tizen Studio 1.0 with SDK version 2.4). This appears to be a case of API deprecation.
Solution Methods
-
Check API Deprecation Status:
- Navigate to your application's header files (inc → *.h files)
- Check the following files:
- Elementary.h
- elm_frame.h
- elm_frame_legacy.h
- You'll likely find that
elm_frame_add(Evas_Object *parent)is commented out, indicating it's deprecated.
-
Alternative Approach:
- Consider using newer Elementary UI components that have replaced frame functionality
- Check the latest Tizen Native API documentation for recommended alternatives
Additional Tips
- When working with older SDK versions, always verify API availability in the specific version you're using
- For the most current information on Elementary UI components, refer to the official documentation at samsungtizenos.com