X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Flib%2Felm_getting_started.h;h=9b11a54540fe30612e0f368fcd31f81df31954f2;hb=4e63c16dcf0f3d2de1026f1177660a8c68bc8d97;hp=37c0ad8a8bbddbd412ab2a71eaea7956b0e02496;hpb=990d38cea057380661ed7988782e7ca3a10ca94f;p=framework%2Fuifw%2Felementary.git diff --git a/src/lib/elm_getting_started.h b/src/lib/elm_getting_started.h index 37c0ad8..9b11a54 100644 --- a/src/lib/elm_getting_started.h +++ b/src/lib/elm_getting_started.h @@ -1,5 +1,6 @@ /** * @defgroup Start Getting Started + * @ingroup Elementary * * To write an Elementary app, you can get started with the following: * @@ -39,11 +40,11 @@ * @verbatim * AUTOMAKE_OPTIONS = 1.4 foreign * MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in configure depcomp install-sh missing - * + * * INCLUDES = -I$(top_srcdir) - * + * * bin_PROGRAMS = myapp - * + * * myapp_SOURCES = main.c * myapp_LDADD = @ELEMENTARY_LIBS@ * myapp_CFLAGS = @ELEMENTARY_CFLAGS@ @@ -66,7 +67,7 @@ * ./autogen.sh * @endverbatim * - * This will generate Makefile.in's, the confgure script and everything else. + * This will generate Makefile.in's, the configure script and everything else. * After this it works like all normal autotools projects: * @verbatim * ./configure @@ -79,7 +80,7 @@ * specify a different prefix with configure: * * @verbatim - * ./confiugre --prefix=$HOME/mysoftware + * ./configure --prefix=$HOME/mysoftware * @endverbatim * * Also remember that autotools buys you some useful commands like: @@ -136,34 +137,34 @@ * * @code * #include - * + * * static void * on_done(void *data, Evas_Object *obj, void *event_info) * { * // quit the mainloop (elm_run function will return) * elm_exit(); * } - * + * * EAPI_MAIN int * elm_main(int argc, char **argv) * { * Evas_Object *win, *box, *lab, *btn; - * + * * // new window - do the usual and give it a name (hello) and title (Hello) * win = elm_win_util_standard_add("hello", "Hello"); * // when the user clicks "close" on a window there is a request to delete * evas_object_smart_callback_add(win, "delete,request", on_done, NULL); - * + * * // add a box object - default is vertical. a box holds children in a row, * // either horizontally or vertically. nothing more. * box = elm_box_add(win); - * // make the box hotizontal + * // make the box horizontal * elm_box_horizontal_set(box, EINA_TRUE); * // add object as a resize object for the window (controls window minimum * // size as well as gets resized if window is resized) * elm_win_resize_object_add(win, box); * evas_object_show(box); - * + * * // add a label widget, set the text and put it in the pad frame * lab = elm_label_add(win); * // set default text of the label @@ -171,7 +172,7 @@ * // pack the label at the end of the box * elm_box_pack_end(box, lab); * evas_object_show(lab); - * + * * // add an ok button * btn = elm_button_add(win); * // set default text of button to "OK" @@ -181,10 +182,10 @@ * evas_object_show(btn); * // call on_done when button is clicked * evas_object_smart_callback_add(btn, "clicked", on_done, NULL); - * + * * // now we are done, show the window * evas_object_show(win); - * + * * // run the mainloop and process events and callbacks * elm_run(); * elm_shutdown();