diff options
author | Nagappan Alagappan <nagappan@gmail.com> | 2011-01-03 17:59:42 -0800 |
---|---|---|
committer | Nagappan Alagappan <nagappan@gmail.com> | 2011-01-03 17:59:42 -0800 |
commit | 0732d0d4cdda23ea12d60fb0e2fa3bb623371c44 (patch) | |
tree | cb19ab28a40713b91ff784f736f2bfa256e942bd | |
parent | 937550b10c90f3357870e8734f4fe708fd99aafc (diff) |
Added getmin function, updated docLDTP_2.1.0
-rw-r--r-- | doc/ldtp-doc.doxygen | 54 | ||||
-rw-r--r-- | ldtpd/value.py | 3 |
2 files changed, 57 insertions, 0 deletions
diff --git a/doc/ldtp-doc.doxygen b/doc/ldtp-doc.doxygen index 0578876..3ad34e5 100644 --- a/doc/ldtp-doc.doxygen +++ b/doc/ldtp-doc.doxygen @@ -637,6 +637,12 @@ * \subpage decrease - Decrease the slider * \n * \n + * \subpage getmax - Get the slider to max value + * \n + * \n + * \subpage getmin - Get the slider to min value + * \n + * \n * \subpage getminincrement - Get min increment value of slider * \n * \n @@ -3128,6 +3134,30 @@ * \author Nagappan Alagappan <nagappan@gmail.com> */ +/** \page getmax getmax + * \section Syntax + * + * getmax ('\<window name\>', '\<spinbutton name\>') + * + * \section Description + * + * Gets the max value of the spin button. + * + * \section ImplementationDetails + * + * \retval max value of the spin button on success, else LdtpExecutionError exception + * + * Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/spin-button.c + * + * \section Example + * + * Creation of Appointment in Evolution: + * + * getmax('dlgAppointment-Nosummary', 'sbtnOccurence') + * + * \author Nagappan Alagappan <nagappan@gmail.com> + */ + /** \page getminvalue getminvalue * \section Syntax * @@ -3152,6 +3182,30 @@ * \author Nagappan Alagappan <nagappan@gmail.com> */ +/** \page getmin getmin + * \section Syntax + * + * getmin('\<window name\>', '\<spinbutton name\>') + * + * \section Description + * + * Gets the min value of the spin button. + * + * \section ImplementationDetails + * + * \retval min value of the spin button on success, else LdtpExecutionError exception + * + * Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/spin-button.c + * + * \section Example + * + * Creation of Appointment in Evolution: + * + * getmin('dlgAppointment-Nosummary', 'sbtnOccurence') + * + * \author Nagappan Alagappan <nagappan@gmail.com> + */ + /** \page getminincrement getminincrement * \section Syntax * diff --git a/ldtpd/value.py b/ldtpd/value.py index 511e452..5448f5b 100644 --- a/ldtpd/value.py +++ b/ldtpd/value.py @@ -139,6 +139,9 @@ class Value(Utils): return valuei.minimumValue + # Name compatibility with setmin + getmin = getminvalue + def getminincrement(self, window_name, object_name): """ Get object min increment value |