我希望在突出显示时更改Gobject杂波actor的背景纹理。有没有什么办法可以在运行时替换纹理?
答案 0 :(得分:0)
您可以使用clutter_texture_set_*
系列函数,例如:
clutter_texture_set_from_file
clutter_texture_set_from_rgb_data
clutter_texture_set_area_from_rgb_data
这里记录的所有内容:http://developer.gnome.org/clutter/stable/ClutterTexture.html