Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        Ewl.h.in 


Log Message:
Documentation fix from Marcus.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/Ewl.h.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- Ewl.h.in    6 Jul 2005 13:44:39 -0000       1.9
+++ Ewl.h.in    6 Jul 2005 23:59:20 -0000       1.10
@@ -155,10 +155,10 @@
  *
  * @code
  *     main_win = ewl_window_new();
- *     ewl_window_set_title(EWL_WINDOW(main_win), "EWL Simple Image Viewer");
+ *     ewl_window_title_set(EWL_WINDOW(main_win), "EWL Simple Image Viewer");
  *     ewl_callback_append(main_win, EWL_CALLBACK_DELETE_WINDOW,
  *                         __destroy_main_window, NULL);
- *     ewl_object_set_minimum_size(EWL_OBJECT(main_win), 100, 100);
+ *     ewl_object_minimum_size_set(EWL_OBJECT(main_win), 100, 100);
  *     ewl_widget_show(main_win);
  * @endcode
  *
@@ -168,17 +168,18 @@
  *
  * @code
  *     main_box = ewl_vbox_new();
- *     ewl_container_append_child(EWL_CONTAINER(main_win), main_box);
+ *     ewl_container_child_append(EWL_CONTAINER(main_win), main_box);
  *     ewl_widget_show(main_box);
  * @endcode
  *
  * Next, create the image widget, we just attempt to load the image
  * file that was specified on the command line, and add it to the
- * box in the window.
+ * box in the window. The second argument is NULL for normal images, but can
+ * be set to the name of the group to load for an edje.
  *
  * @code
- *     image = ewl_image_new(argv[1]);
- *     ewl_container_append_child(EWL_CONTAINER(main_box), image);
+ *     image = ewl_image_new(argv[1], NULL);
+ *     ewl_container_child_append(EWL_CONTAINER(main_box), image);
  *     ewl_widget_show(image);
  * @endcode
  *




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to