Guyub adalah perusahaan TI berpusat di Palembang dengan fokus pada F/OSS Produk-produk >> Layanan-layanan >>
Rss Posts
Jan 05, 2010
pExample Clutter program which will load a png and create a clickable button out of it./pimport clutterbr /br /#create a clutter stage and set the display sizebr/stage = clutter.Stage()br /stage.set_size(400, 400)br /br /#load the image for the buttonsbr /img=clutter.cogl.texture_new_from_file(‘button.png’,clutter.cogl.TEXTURE_NO_SLICING, clutter.cogl.PIXEL_FORMAT_ANY)br /br /#example create button from class startbr /br /class button(clutter.Texture):br / def __init_Read More…