Logo Search packages:      
Sourcecode: wxwindows2.4 version File versions

def lib::intctrl::wxIntCtrl::SetBounds (   self,
  min = None,
  max = None 
)

This function is a convenience function for setting the min and max
values at the same time.  The function only applies the maximum bound
if setting the minimum bound is successful, and returns True
only if both operations succeed.
NOTE: leaving out an argument will remove the corresponding bound.

Definition at line 559 of file intctrl.py.

00559                                            :
        """
        This function is a convenience function for setting the min and max
        values at the same time.  The function only applies the maximum bound
        if setting the minimum bound is successful, and returns True
        only if both operations succeed.
        NOTE: leaving out an argument will remove the corresponding bound.
        """
        ret = self.SetMin(min)
        return ret and self.SetMax(max)


    def GetBounds(self):


Generated by  Doxygen 1.6.0   Back to index