Logo Search packages:      
Sourcecode: pythoncard version File versions  Download package

def PythonCard-0.8.1::model::CustomDialog::enableCommand (   self,
  aString,
  aBoolean = True 
)

Fined every component with a 'command' attribute
that matches aString, and enable the component.

Definition at line 1937 of file model.py.

01937                                                    :
        """
        Fined every component with a 'command' attribute
        that matches aString, and enable the component.
        """
        for component in self.components.itervalues():
            if component.command == aString:
                component.enabled = aBoolean

    def disableCommand(self, aString):


Generated by  Doxygen 1.6.0   Back to index