By Carlos Dominguez
24 Jan 2017 12:32
English
3 Replies
Hello everybody!
I am trying to set a image as a background, I wrote this code, win is the window container, the file exists, even tryed with png format, is not showing nothing, any one knows what I am doing wrong?
Thanks to all!
Evas_Object *bg;
elm_bg_file_set(bg, "/opt/usr/media/bg.jpg", NULL);
elm_bg_option_set(bg, ELM_BG_OPTION_STRETCH);
bg = elm_bg_add(ad->win);
//evas_object_show(bg); // I think is not needed
View Selected Answer
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------