如何将背景添加到基本(EFL)小部件? [英] How to add background to elementary(EFL) widget?

查看:144
本文介绍了如何将背景添加到基本(EFL)小部件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望将背景颜色(或图像)用于基本小部件(也包括容器),例如网格或框.

I want background color(or image) to elementary widget(also container) like grid or box.

如何为基本小部件设置背景颜色?

how can I set background color to elementary widget?

在EFL基本文档中,我找到了elm_bg函数,但无法将其设置为其他基本容器的背景...

in EFL elementary document, I found elm_bg functions, but I can't set it as background to other elementary containers...

推荐答案

还在tizen.org上问过,这部分显然还不清楚

Also asked on tizen.org, this part is unclear apparently

https://developer. tizen.org/ko/forums/native-application-development/how-change-button-background-color

主题化是方法,在先前的URL上共享示例代码.

Theming is the way to go, sample code shared at previous URL.

这篇关于如何将背景添加到基本(EFL)小部件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆