def clearForm(self):
        """Clear all form fields (except author)."""
        
        self.logui.titleEntry.clear()
        self.logui.textEntry.clear()

        # Remove all log selection menus except the first
        while self.logMenuCount > 1:
            self.removeLogbook(self.logMenus[-1])
def clearForm(self):
        """Clear all form fields (except author)."""
        
        self.logui.titleEntry.clear()
        self.logui.textEntry.clear()

        # Remove all log selection menus except the first
        while self.logMenuCount > 1:
            self.removeLogbook(self.logMenus[-1])
def clearForm ( self ) : self . logui . titleEntry . clear ( ) self . logui . textEntry . clear ( ) # Remove all log selection menus except the first while self . logMenuCount > 1 : self . removeLogbook ( self . logMenus [ - 1 ] )
Clear all form fields (except author).
Clear all form fields ( except author ) .