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

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

Get's the current homepage content, and places it in the text box.

Definition at line 771 of file textRouter.py.

00771                                               :
        """Get's the current homepage content, and places it in the text box."""
        if not self.checkManilaAccounts(3):
            return

        curManilaAccount = self.theManilaAccounts[self.theCurrentManilaAccount]

        self.showWaitMsg("Fetching homepage...")

        curManilaAccount.manilaGetHP()
        if curManilaAccount.anErrorOccured():
            self.status(curManilaAccount.getErrorMessage())
        else:
            self.updateTextBox(curManilaAccount.currentHPContent["body"].replace("\r", "\n"))
            self.status("Homepage content successfully downloaded.")
            self.saveState() # undo stack history.


    def on_menuManilaSetAsHP_select(self, event):


Generated by  Doxygen 1.6.0   Back to index