Enlightenment CVS committal Author : pfritz Project : e17 Module : docs
Dir : e17/docs/ewlbook/xml/widgets Modified Files: range_widgets.xml Log Message: more doc fixes =================================================================== RCS file: /cvs/e/e17/docs/ewlbook/xml/widgets/range_widgets.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- range_widgets.xml 3 Nov 2004 18:44:45 -0000 1.2 +++ range_widgets.xml 12 Apr 2007 15:42:33 -0000 1.3 @@ -41,9 +41,9 @@ <title>Creating an EWL seeker</title> <programlisting role="C"> Ewl_Widget *s = ewl_seeker_new(EWL_ORIENTATION_HORIZONTAL); - ewl_seeker_value_set(EWL_SEEKER(s), 5.0); - ewl_seeker_range_set(EWL_SEEKER(s), 10.0); - ewl_seeker_step_set(EWL_SEEKER(s), 1); + ewl_range_value_set(EWL_RANGE(s), 5.0); + ewl_range_range_set(EWL_RANGE(s), 10.0); + ewl_range_step_set(EWL_RANGE(s), 1); ewl_callback_append(s, EWL_CALLBACK_VALUE_CHANGED, seeker_cb, NULL); ewl_widget_show(s); </programlisting> @@ -55,7 +55,7 @@ <title>Ewl_Seeker callback</title> <programlisting role="C"> void seeker_cb(Ewl_Widget *w, void *event, void *data) { - double val = ewl_seeker_value_get(EWL_SEEKER(w)); + double val = ewl_range_value_get(EWL_RANGE(w)); printf("%f\n", val); } </programlisting> ------------------------------------------------------------------------- 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-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs