2009/1/12 Oguz Yarimtepe <comp....@gmail.com>: > Hi, > > I have attached the sample program that is mentioned at edjebook.pdf. > Here is what i get: > > $ gcc `pkg-config --cflags --libs ecore-evas evas ecore edje` > example.c -o example > example.c: In function 'main': > example.c:34: warning: passing argument 2 of > 'edje_object_size_min_get' from incompatible pointer type > example.c:34: warning: passing argument 3 of > 'edje_object_size_min_get' from incompatible pointer type > > $ ./example > 1 > ok > 0.000000 0.000000 > > After that point i just see a tiny elips windows without anything. If > i enlarge it i can see that the title set but i don't see the edj file > view there. What is wrong? I can see the edj file if i open it > edje_viewer. > > Thanx
You are using min edje size properties if test group to resize your main window, so you must have min properties in your edje file, if not, I suggest you to give fixed values for you window. ee = ecore_evas_software_x11_new(NULL, 0, 0, 0, 800,600); // line 20 ... evas_object_resize(edje, 800, 600); //line 37 evas_object_show(edje); //line 38 ecore_evas_resize(ee, 800, 600); //line 39 This example should resize you window with 800x600 geometry otherwise don't change code and add this to you edc file. group { name: "test" min: 800 600; ... } .eet extension is deprecated for edje file, you should use .edj extension for binaries. regards, -- Nicolas Aguirre Mail: aguirre.nico...@gmail.com Web: http://www.digital-corner.org ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel