From: Tilman S. <ti...@co...> - 2005-03-18 19:47:01
|
Tilman Sauerbeck <ti...@co...> [2005-03-18 20:38]: > Andreas Volz <li...@br...> [2005-03-18 19:04]: > > Ok, thanks for your answer. I get my app to display the eet data. But I > > need to shape the window for all transparent areas as you explained. > > Could you point me to the correct function calls or an example for this? > > Add the following code to your theme's collection edc code, if it's > shaped: > > data { > item, "shaped" "true"; > } > > Then, in your app's code, use the following to shape the Ecore_Evas if > the theme is shaped: > > ecore_evas_shaped_set (blah, !!edje_object_data_get (edje, "shaped")); Dan noted that this might be a bit confusing, so let's explain it some more ;) The code just checks whether there's a key/value pair present where key = "shaped", it doesn't matter what value it's set too, as long as it's there. So 'item, "shaped" "foobarbaz";' would have worked just as well. Of course you could check for "true" or any other value explicitly, but IMHO there's no real benefit ;) -- Regards, Tilman |