原创 clutter 自定義actor

clutter自定義 actor時,可能會要求實現 allocate 函數 在allocate函數的實現中,自定義控件內部的actor的位置座標指定是相對於它的parent, 而不是相對於整個stage. 否則,容易出現 問題就是打印角色