(self, title, next, name = "Cancel", active = 1)
return self.pushbutton(name, 304, self.h-27, 56, 17, flags, title, next)
Add a cancel button with a given title, the tab-next button,
        its name in the Control table, possibly initially disabled.

        Return the button, so that events can be associated
Add a cancel button with a given title, the tab-next button,
        its name in the Control table, possibly initially disabled.
Add a cancel button with a given title the tab - next button its name in the Control table possibly initially disabled .
def cancel(self, title, next, name = "Cancel", active = 1):
        """Add a cancel button with a given title, the tab-next button,
        its name in the Control table, possibly initially disabled.

        Return the button, so that events can be associated"""
        if active:
            flags = 3 # Visible|Enabled
        else:
            flags = 1 # Visible
        return self.pushbutton(name, 304, self.h-27, 56, 17, flags, title, next)
def cancel ( self , title , next , name = "Cancel" , active = 1 ) : if active : flags = 3 # Visible|Enabled else : flags = 1 # Visible return self . pushbutton ( name , 304 , self . h - 27 , 56 , 17 , flags , title , next )