How do you correctly get the window position and size when using Ecore_Evas?
Here's a quick code snippet to demonstrate what i'm trying to do. I've correctly gotten the size of the object, but can't seem to get the window position right. This could just be a coding error on my part. :-) ----------------------------------------------------- Ecore_Evas * ee; Evas * evas; Evas_Object * widget; Evas_Coord x1, y1, w1, h1; Evas_Coord x2, y2, w2, h2; -------- Set up and display here -------- ecore_evas_geometry_get(ee, &x1, &y1, &w1, &h1); /* Returns x1 = 0, y1 = 0, w1 = 1, h1 = 1 */ evas_object_geometry_get(widget, &x2, &y2, &w2, &h2); /* Returns x2 = 0, y2 = 0, w2 = 280, h2 = 375 */ ----------------------------------------------------- The ecore_evas_geometry_get() used to work for me and return the size and position of the window. It doesn't seem to do that any more. That's why I tried the evas_object_geometry_get() call. I'm running CVS on Gentoo, built yesterday. Thanks in advance, Ed Presutti (ekrunch on freenode) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
