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

def textRouter::TextRouter::on_menuManilaFlipHomepage_select (   self,
  event 
)

Confirms user request to flip homepage, and then attempts to flip it.

Definition at line 731 of file textRouter.py.

00731                                                      :
        """Confirms user request to flip homepage, and then attempts to flip it."""
        if not self.checkManilaAccounts(3):
            return

        result = dialog.messageDialog(self, \
                                          "Really flip homepage?", \
                                          "Flip Homepage Confirm")
        if result.accepted:
            self.showWaitMsg("Flipping homepage...")
            self.theManilaAccounts[self.theCurrentManilaAccount].manilaFlipHomepage()
            if self.theManilaAccounts[self.theCurrentManilaAccount].anErrorOccured():
                self.status(self.theManilaAccounts[self.theCurrentManilaAccount].getErrorMessage())
            else:
                self.status("Homepage flipped successfully.")
        else:
            self.status("Homepage not flipped.")

        # now make it so we have to reget the message number before we can set it again. (Flip homepage,
        # changes the message number)
        self.currentHPMsgNum = -1

        
    def on_menuManilaAddToHP_select(self, event):


Generated by  Doxygen 1.6.0   Back to index