Logo Search packages:      
Sourcecode: qa-assistant version File versions  Download package

def propview::PropertiesDialog::_ok_button_cb (   self,
  extra 
) [private]

Close the properties window.

Definition at line 150 of file propview.py.

00150                                    :
        '''Close the properties window.
        '''
        if self.propView.model.requirementsMet:
            self.destroy()
        else:
            requireDialog = gtk.MessageDialog(self,
                    gtk.DIALOG_DESTROY_WITH_PARENT,
                    gtk.MESSAGE_WARNING,
                    gtk.BUTTONS_CLOSE,
                    'There are several properties on this dialog that are'
                    ' required.  Please be sure you have entered each item'
                    ' which is displayed in italics and press OK again.')
            requireDialog.set_title('Enter All Required Properties')
            requireDialog.set_default_response(gtk.RESPONSE_CLOSE)
            response = requireDialog.run()
            requireDialog.destroy()

    def _help_button_cb(self, *extra):


Generated by  Doxygen 1.6.0   Back to index