Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_popup.c ewl_popup.h Log Message: add ewl_popup_follow_get() =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_popup.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- ewl_popup.c 13 Feb 2007 05:26:21 -0000 1.8 +++ ewl_popup.c 14 Feb 2007 06:42:28 -0000 1.9 @@ -145,6 +145,22 @@ } /** + * @param p: The popup to get the follow from + * @return Returns the follow of the popup + * @brief + */ +Ewl_Widget * +ewl_popup_follow_get(Ewl_Popup *p) +{ + DENTER_FUNCTION(DLEVEL_STABLE); + DCHECK_PARAM_PTR_RET("p", p, EWL_POPUP_TYPE_NONE); + DCHECK_TYPE_RET("p", p, EWL_POPUP_TYPE, EWL_POPUP_TYPE_NONE); + + DRETURN_PTR(p->follow, DLEVEL_STABLE); +} + + +/** * @param p: The popup * @param fit: TRUE or FALSE * @return Returns no value =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_popup.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- ewl_popup.h 13 Feb 2007 05:26:21 -0000 1.8 +++ ewl_popup.h 14 Feb 2007 06:42:28 -0000 1.9 @@ -51,6 +51,7 @@ void ewl_popup_type_set(Ewl_Popup *p, Ewl_Popup_Type type); Ewl_Popup_Type ewl_popup_type_get(Ewl_Popup *p); void ewl_popup_follow_set(Ewl_Popup *p, Ewl_Widget *w); +Ewl_Widget *ewl_popup_follow_get(Ewl_Popup *p); void ewl_popup_fit_to_follow_set(Ewl_Popup *p, int fit); int ewl_popup_fit_to_follow_get(Ewl_Popup *p); ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs