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
Backgroung app from file
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
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio